I use it every day at home and work as a general purpose editor and customise it heavily with macros, scripts and templates to handle many repetitive tasks. Personally, I rarely use it for Java work though: no text editor comes close to an IDE like Eclipse for Java programming work.
NetBeans IDE is a Java IDE that can help you build robust web applications. These Are the Best Mac-Based HTML Editors for Beginners. The 10 Best Basic Cell Phones.
This article has been updated as of September 2019 to ensure that all the HTML editors listed are still available for free download. Any new information on latest versions has been added to this list.
It has almost the same support for language syntax as TextMate, and even has a Windows version as well (which is where the app originated, but that Mac version is still very Mac-like). The Java Edition comes with out of the box Java Support. It has a Code Editor and Code Navigation. Refactoring, compatibility with Swing, Unit Testing, Version Control, Auditing & Metrics, Debugging and profiling are all included. There’s a good chance that Emacs would be one of your favorite Linux text editors. It has been around for a long time. GNU Emacs, created by GNU Project founder Richard Stallman, is its most popular version that’s used by developers and Linux enthusiasts all across the world.
During the original testing process, over 100 HTML editors for Windows were evaluated against more than 40 different criteria relevant to both professional and beginning web designers and web developers, as well as small business owners. From that testing, ten HTML editors that stood above the rest were selected. Best of all, all of these editors also happen to be free!
of 09
NotePad ++
What We Like
Small download and program size.
Loads fast, and runs light.
Auto-completion for words and functions.
Plugin options to extend functionality.
What We Don't Like
No Mac version available.
May be less useful for languages like Java.
Notepad++ is a favorite free note taking app and code editor. It is a more robust version of the Notepad software that you would find available in Windows by default. That being the case, this is a Windows-only option. It includes things like line number, color coding, hints, and other helpful tools that the standard Notepad application does not have. These additions make Notepad++ an ideal choice for web designers and front end developers.
of 09
Komodo Edit
What We Like
Extensible through plugins.
Customizable appearance.
Available for Windows, Mac, and Linux.
What We Don't Like
No WYSIWYG editor.
Not the best editor for beginners.
There are two versions of Komodo available, Komodo Edit and Komodo IDE.
is open source and free to download. It is a trimmed down counterpart to IDE.
Komodo Edit includes a lot of great features for HTML and CSS development. Additionally, you can get extensions to add language support or other helpful features, like special characters.
Komodo doesn't outshine as the best HTML editor, but it's great for for the price, especially if you build in XML where it truly excels. I use Komodo Edit every day for my work in XML, and I use it a lot for basic HTML editing as well. This is one editor I'd be lost without.
of 09
Eclipse
What We Like
Plugin design makes adding new languages simple.
Open source with large community makes problem solving easier.
Runs on multiple platforms such as Windows, Mac, and Linux
What We Don't Like
A large program that's not as light as other editors.
Consumes considerable system resources, especially on large projects.
Eclipse is a complex development environment that is perfect for people who do a lot of coding on various platforms and with different languages. It is structured as plug-ins, so if you need to edit something you just find the appropriate plug-in and go to work.
If you are creating complex web applications, Eclipse has a lot of features to help make your application easier to build. There are Java, JavaScript, and PHP plugins, as well as a plugin for mobile developers.
Aptana Studio 3 offers an interesting take on webpage development. Instead of focusing on HTML, Aptana focuses on JavaScript and other elements that allow you to create rich internet applications. That may not make it the best fit for simple web design needs, but if you are looking more in the way of web application development, the tools offered in Aptana may be a great fit.
One concern about Aptana is the lack of updates that the company has done over the past few years. Their website, as well as their Facebook and Twitter pages, announce the release of version 3.6.0 on July 31, 2014, but there have been no announcements since that time.
While the software itself tested great during initial research (and it was originally placed 2nd in this list), this lack of current updates must be taken into consideration.
of 09
NetBeans
What We Like
Version control functionality.
Customizable appearance.
Specialized for Java.
What We Don't Like
Takes some time to learn.
Consumes a lot of system resources while running.
Can be slow to execute commands.
NetBeans IDE is a Java IDE that can help you build robust web applications.
Like most IDEs, it has a steep learning curve because it doesn't often work in the same way that web editors work. Once you get used to it you’ll find it very useful, however.
The version control feature included in the IDE is especially useful for people working in large development environments, as is the developer collaboration features. If you write Java and webpages this is a great tool.
of 09
Microsoft Visual Studio Community
What We Like
Well supported with updates and the addition of new features.
Wide range of programming languages supported.
Nice design that is beginner-friendly.
What We Don't Like
Premium features come with high price tag.
Heavy program that consumes significant memory and processing power.
Bit of a learning curve for new users.
Microsoft Visual Studio Community is a visual IDE to help web developers and other programmers get started creating applications for the web, mobile devices and the desktop. Previously, you may have used Visual Studio Express, but this is the latest version of the software. They offer a free download, as well as paid versions (that include free trials) for Professional and Enterprise users.
of 09
BlueGriffon
What We Like
Multiplatform support (Windows, Mac, Linux).
WYSIWYG editor with previews.
Good for beginners
What We Don't Like
Can suffer lag during use.
Lots of options may bewilder new users.
BlueGriffon is the latest in the series of webpage editors that started with Nvu, progressed to Kompozer and now culminates in BlueGriffon. It is powered by Gecko, the rending engine of Firefox, so it does a great job of showing how work would be rendered in that standards-compliant browser.
BlueGriffon is available for Windows, Macintosh and Linux and in a variety of languages.
This is the only true WYSIWYG editor that made this list, and as such it will be more appealing for many beginners and small business owners who want a more visual way to work as opposed to a purely code-focused interface.
of 09
Bluefish
What We Like
A fast and lightweight program.
Multiplatform support (Windows, Mac, Linux).
What We Don't Like
Primarily a code editor without a WYSIWYG interface.
Lacks an easy FTP upload feature.
Bluefish is a full-featured HTML editor that runs on a variety of platforms, including Linux, MacOS-X, Windows, and more.
The latest release (which is 2.2.10 or 2.2.10-2 for High Sierra) fixed some of the bugs found in previous versions.
Noteworthy features that have been in place since the 2.0 version are code-sensitive spell check, auto complete of many different languages (HTML, PHP, CSS, etc.), snippets, project management and autosave.
Bluefish is primarily a code editor, not specifically a web editor. This means that it has a lot of flexibility for web developers writing in more than just HTML, however, if you’re a designer by nature and you want more of a web-focused or a WYSIWYG interface, Bluefish may not be for you.
of 09
GNU Emacs Profile
What We Like
Included with most Linux systems.
Powerful with plenty of features.
What We Don't Like
More complicated than other editors.
Not the best choice for beginners.
GNU Emacs is found on most Linux systems and makes it easy for you to edit a page even if you don't have your standard software.
Emacs is a lot more complicated some other editors, and so offers more features, but I find it harder to use.
Feature highlights: XML support, scripting support, advanced CSS support and a built-in validator, as well as color coded HTML editing.
This editor, whose latest version is 26.1 which was released in May 2018, can be intimidating to anyone who isn't comfortable writing plain HTML in a text editor, but if you are and your host offers Emacs, it is a very powerful tool.
Active3 months ago
I searched for this and found Maudite's question about text editors but they were all for Windows.
As you have no doubt guessed, I am trying to find out if there are any text/code editors for the Mac besides what I know of. I'll edit my post to include editors listed.
Free
Aquamacs and closer to the original EMacs
TextMate2 - GPL
Commercial
Articles related to the subject
Thank you everybody that has added suggestions.
closed as not constructive by Bo Persson, Flexo♦, casperOneApr 2 '12 at 19:34
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.
39 Answers
12 next
I haven't used it myself, but another free one that I've heard good thing about is Smultron.
In my own research on this, I found this interesting article:Faceoff: Which Is The Best Mac Text Editor Ever?
I thought TextMate was everyone's favourite. I haven't met a programmer using a Mac who is not using TextMate.
Emacs
Vim
But I use TextMate, and can say that it is, without a doubt, worth every penny I paid for it.
Sublime text is awesome (http://www.sublimetext.com/2). Excellent search features, very fast and lightweight. Very decent code completion.
I also use RubyMine and WebStorm a lot (http://www.jetbrains.com/). They are excellent but not all purpose like TextMate.
I've tried Komodo out a bit, and I really like it so far. Aptana, an Eclipse variant, is also rather useful for a wide variety of things. There's always good ole' VI, too!
If you ever plan on making a serious effort at learning Emacs, immediately forget about Aquamacs. It tries to twist and bend Emacs into something it's not (a super-native OS X app). That might sound well and all, but once you realize that it completely breaks nearly every standard keybinding and behavior of Emacs, you begin to wonder why you aren't just using TextEdit or TextMate.
Carbon Emacs is a good Emacs application for OS X. It is as close as you'll get to GNU Emacs without compiling for yourself. It fits in well enough with the operating system, but at the same time, is the wonderful Emacs we all know and love. Currently it requires Leopard with the latest release, but most people have upgraded by now anyway. You can fetch it here.
Alternatively, if you want to use Vim on OS X, I've heard good things about MacVim.
Beyond those, there are the obvious TextEdit, TextMate, etc line of editors. They work for some people, but most 'advanced' users I know (myself included) hate touching them with anything shorter than a 15ft pole.
CotEditor is a Cocoa-based open source text editor. It is popular in Japan.
Best open source one is Smultron in my opinion, but it doesn't a torch to TextMate.
There's a new kid on the block - PHPStorm. I used it for a whole year. Its not free but offers an individual license of 49$ for a year, free for Open Source Developers.
Speedy for an IDE - Its based on Java so looks somewhat like Eclipse/Netbeans but smokes them to dust in terms of speed (not as fast as Coda/Textmate as this is an IDE).
Keyboard shortcuts galore - I seldom touched the mouse while developing using PHPStorm (that's what I didn't like about Coda)
Subversion support built-in - Didn't need to touch Versions or any other SVN client on Mac
Supports snippets, templates - zen-coding is supported as well
Supports projects, though in separate windows
File search, code search
code completion, supports PHPDoc code completion too
BBEdit makes all other editors look like Notepad.
It handles gigantic files with ease; most text editors (TextMate especially) slow down to a dead crawl or just crash when presented with a large file.
Best Java Editor For Mac
The regexp and multiple-file Find dialogs beat anything else for usability. Best free pdf editor without watermark.
The clippings system works like magic, and has selection, indentation, placeholder, and insertion point tags, it's not just dumb text.
BBEdit is heavily AppleScriptable. Everything can be scripted.
In 9.0, BBEdit has code completion, projects, and a ton of other improvements.
I primarily use it for HTML, CSS, JS, and Python, where it's extremely strong. Some more obscure languages are not as well-supported in it, but for most purposes it's fantastic.
The only devs I know who like TextMate are Ruby fans. I really do not get the appeal, it's marginally better than TextWrangler (BBEdit's free little brother), but if you're spending money, you may as well buy the better tool for a few dollars more.
jEdit does have the virtue of being cross-platform. It's not nearly as good as BBEdit, but it's a competent programmer's editor. If you're ever faced with a Windows or Linux system, it's handy to have one tool you know that works.
Vim is fine if you have to work over ssh and the remote system or your computer can't do X11. I used to love Vim for the ease of editing large files and doing repeated commands. But these days, it's a no-vote for me, with the annoyance of the non-standard search & replace (using (foo) groups instead of (foo), etc.), painfully bad multi-document handling, lack of a project/disk browser view, lack of AppleScript, and bizarre mouse handling in the GVim version.
jEdit runs on OS X, being Java-based. It's somewhat similar to TextMate, I think.
Editra looks interesting, but I've not tried it myself.
TextMate not for 'advanced programmers'. That does not make sense, TextMate contains everything an 'advanced programmer' would want. It allows them to define a bundle that allows them to quickly set up the way they want their source code formatted, or one that follows the project guidelines, quick easy access to create entire structures and classes based on typing part of a construct and hitting tab.
TextMate is my tool of choice, it is fast, lightweight and yet contains all of the features I would want in a tool to program with. While it is not tightly integrated in Xcode, that is not a problem for me as I don't write software for Mac OS X. I write software for FreeBSD.
Definitely BBEdit. I code, and BBEdit is what I use to code.
You might consider one of the classics - they're both free, extensible and have large user bases that extend beyond the Mac:
Aquamacs - emacs for OS X (emacs in a shell window is also an option)
Mac Vim - VI with a Mac-specific GUI (vim in a shell window is also an option)
I prefer an old-school editing setup. I use command-line vim embedded in a GNU Screen 'window' inside of iTerm.
This may not integrate well with XCode, but I think it works great for developing and using command-line programs. If you spend any significant time working in a terminal, GNU Screen is worth the 30 minutes it takes to master the basic terminal multiplexing concepts.
Coda's great for PHP/ASP/HTML style development. Great interface, multiple-file search and replace with regexp support, slick FTP/SFTP/etc integration for browsing and editing remote files, SVN integration, etc.
It now supports plugins and the plugin editor can import TextMate bundles, so there's a bright future there. There aren't a lot of must-have plugins yet because the plugin support was newly introduced with version 1.6 a few months back. It's a popular app, though, so I expect more in the future.
The 'killer features' for me are:* Seamless editing of remote files* Code navigator (symbol browser; pane that lists functions etc)
Most people aren't really into using symbol browsers but as I have to maintain a lot of unfamiliar code I find them invaluable.
I'm not sure that Coda has the 'raw power' of TextMate though. I plan on getting familiar with TextMate next.
I make use of Komodo IDE. It supports a huge number of languages, and is customisable but is a bit expensive (my company bought me a copy). A really good alternative is the free version called Komodo Edit. Loads really quickly and has a decent feature list and I find myself turning to it rather than the full IDE for a lot of jobs.
Best Editor For Java Machine
I actually prefer EditRocket over TextMate. I use it on both my Mac and Ubuntu machines. It is nice to use the same editor on multiple operating systems.
Textmate is state of the Art editor, but if someone is thinking about developing on several platforms without awkward memory eaters monsters like jedit, eclipse, netbeans etc take a look at geany (geany.org). It is free. The only problem the editor has not esthetic look and feel on Mac OS X :)
Fraise is a nice free option. It has some rough edges, but you can't beat the price. I believe it's a fork or successor of Smultron.
Best Editor For Java Mac Download
I use Eclipse as my primary editor (for Python) but I always keep SubEthaEdit handy as my supplemental text editor (free trial, 30 euros to license). It's not super-complicated but it does what I need.
Another vote for Smultron. I used it when doing some XQuery programming and being able to define a keyword files for syntax color highlighting was great.
I have installed both Smultron and Textwrangler, but find myself using Smultron most of the time.
I would love to use a different editor than XCode for coding, but I feel, that no other editor integrates tightly enough with it to be really worthwhile. However, given some time, TextMate might eventually get to that point. At the moment though, it primarily lacks debugging features and refactoring.
For everything that does not need XCode, I love TextMate. If I had another Mac-user in my workgroup I would probably consider SubEthaEdit for its collaboration features. If it is Emacs you want, I would recommend Aquamacs (more Mac-like) or Carbon Emacs (more GNU-Emacs-like)
Best Java Code Editor For Mac
I've been using BBEdit for years. It's rock-solid, fast, and integrates into my Xcode workflow decently well. (I'm not sure anything integrates into Xcode as well as the built-in editor, but who has time to wait for the built-in editor?)
For small team projects which don't use a source control system, or for single user editing on multiple machines, SubEthaEdit comes highly recommended.
Best Text Editor On Mac
Eclipse and Netbeans have text editors among a whole lot of other stuff. I don't think you would want to wait 10 seconds for your text editor to become ready :/..If you are going to spend some serious time coding then spend some time and learn to use vim (emacs too but, I recommend vim)
Not the answer you're looking for? Browse other questions tagged macoseditor or ask your own question.