What Is Text Editor For Mac

We often get asked about what’s the best code editor for modifying WordPress files? Well you can use any plain text editor such as NotePad, however there are better editors out there with features like syntax highlighting, advanced find and replace, FTP integration, etc. In this article, we will show you some of the best code editors available for Mac and Windows users.

1. Notepad++

Brackets is probably the most popular text editor for Mac. It has been around a while and is free and open source. It has been around a while and is free and open source. Less known is the fact that it is owned and maintained by Adobe, which makes the fact that Brackets is free even more surprising.

Carbon Emacs Package is a Mac-friendly distribution of the GNU Emacs text editor. It’s simple, extensible, and good for technically minded users who value the advanced features it offers. Not the most user friendly app, but worth bearing in mind. UltraEdit is an award-winning text editor. CNET/Download.com says about UltraEdit: 'With its clear layout and powerful project and work-space features, it can handle complex and sophisticated software-development projects.

Notepad++ is a free and open source code editor for Windows. It is easy to use for beginners and highly powerful for advanced users. It comes with syntax highlighting for many languages including PHP, JavaScript, HTML, and CSS. It also comes with a built-in FTP plugin that allows you to connect to your server and edit files directly without leaving the editor.

2. TextWrangler

TextWrangler came out of the popular BBEdit text editor. This powerful and feature rich text editor is a freeware. It comes with a very intuitive user interface that makes it super easy to browse files and work on projects. It has advanced search and replace tools, and it can directly edit and save files to FTP, SFTP servers. It offers syntax highlighting for many programing languages, fully supports utf-8, and even allows you to convert character encoding of text documents.

3. Coda

Default text editor mac

Coda is perhaps one of the most loved web development and programming editor for Mac. It is famous for its ridiculously good looking interface, and smart powerful features. It allows you to edit local or remote files, manage projects, work on multiple files at once with easy switching between tabs. It has built in terminal, debugger, web kit preview and inspector, and so many awesome features.

Code costs $99 for a single license but it is totally worth the price.

4. Sublime Text

Sublime Text is a cross-platform code editor for Mac, Windows, and Linux. It comes with all the features you would expect from a powerful code editor and then some more. It looks beautiful and you can tweak the appearance to make it more comfortable for you. Sublime Text comes with advanced code editor features which allow you to autofill, autocomplete, reference function in a file, multiple selection, split editing, and many more.

Sublime Text is available on trial and a single license will cost you $70.

5. TextMate

TextMate promises to bring Apple’s approach to operating systems into a text editor. TextMate is a simple yet feature rich code editor for Mac. Easy clip board management, sophisticated find and replace, autocompletion, foldable code blocks, are some of the powerful features of TextMate.

TextMate is available for $60. It is also available as a free download.

6. Atom

Atom is a cross-platform code editor created by developers for developers. It is open source, and much like WordPress, Atom users can submit packages and themes for the software. It looks pretty and you can change the appearance by installing themes. It comes with built-in package manager to extend it, smart autocompletion, file system browser, multiple panes, find and replace.

7. BBEdit

BBEdit is a beautiful code and HTML editor for Mac. It comes with all the advanced features of a powerful code editor. Syntax highlighting, advanced find and replace, autocompletion, quick lookup, multiple tabs, splittable editing windows and much more.

BBEdit costs $49.99, you can also download a free trial version.

8. UltraEdit

UltraEdit is a powerful HTML and Code editor available for Mac, Windows, and Linux. It comes with a built-in file comparison utility, autocompletion, advanced layout, multi-tab, multi-pane editors, and syntax highlighting for the most popular programming languages.

UltraEdit costs $79.5 with a limited free trial version available for download.

9. Vim

Vim is an advanced text editor that brings the power of Vi to an equally powerful feature set. Vim is open source and available for Mac, Windows, and Linux. Vim is so powerful and advanced that it is considered to be an IDE in its own way.

10. Brackets

Brackets was founded by Adobe to push web editors into the new age. It claims to be an advanced code editor that understands web designs. Brackets can take hints from a PSD file and allows you to write code faster and better. Brackets is open source and available for Mac, Windows, and Linux.

11. CoffeeCup HTML Editor

CoffeeCup HTML Editor is an easy to use HTML editor for Windows. It supports PHP, HTML, Markdown, CSS and allows you to use autocomplete, syntax validation, semantic code, among many other features. CoffeeCup HTML editor is not the ideal code editor for many other languages but if you want to learn writing PHP, HTML, and CSS, then Coffee Cup HTML editor is a good place to start.

CoffeeCup HTML Editor costs $69 with a limited free trial version available for download.

12. Espresso

Espresso is a web development tool for Mac. It comes with a powerful code editor and built-in CSSEdit. It comes with beautiful interface and advanced features like drag and drop code snippets, code folding, navigator, live styling and X-ray preview.

Espresso is available for $75.

We hope this article helped you find the perfect code editor for your needs. You may also want to take a look at our WordPress theme cheat sheet for beginners

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

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

  1. Aquamacs and closer to the original EMacs
  2. 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.

The regexp and multiple-file Find dialogs beat anything else for usability.

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.

What is a text editor for mac

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.


Textedit Mac

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.



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.


What Is The Best Text Editor For Mac

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.




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)


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.


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.