Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm looking for a programmers' editor. I know Xcode and I use it for application programming but I'm looking for something that will:

  • Syntax highlight PHP, SQL, Javascript (including jQuery) and CSS not required but would be nice; also Lua, Python, and Perl
  • IntelliSense type stuff, start typing and get all the functions/objects/variables it could be and any parameters. Xcode does this well for C/C++/Objective-C but looking for languages that are listed above.
  • Would be nice if it worked with projects and not just files
  • Integrated with SVN, CVS, or GIT
  • Had upload-to-server functionality built in

I am aware of Coda but am looking for other options before I drop 100 bucks.

share|improve this question
1  
For alternatives to Code you may want to check alternativeto.net/software/coda/?platform=mac - they are ordered by people preference. –  sorin May 25 '11 at 8:09
    
Considered going to a full IDE? I believe Netbeans can do all you ask for. –  Thorbjørn Ravn Andersen Jul 25 '11 at 15:03

13 Answers 13

up vote 5 down vote accepted

Espresso is nice. Similar to Coda.

share|improve this answer

Beyond up-voting @philip's BBedit recommendation, I am compelled to emphatically endorse BBEIT: BBEdit Simply the best coding editor I've used PC or Mac. I've not used VIM but I've been coding since before DOS existed, so I understand the speed of all-keyboard-all-the-time editing. I'll give you that and yet stand by my BBEdit endorsement.

P.S. Did I mention I like BBEdit?

share|improve this answer

NetBeans is my development environment of choice. While it's not my text editor for regular files - I'm using TextWrangler or vim on the shell for that - it is the most usable IDE I've come across so far.

It has great code completion, supports various languages, has a great formatting engine, extremely well done and easy to configure debugging functionalities and a very good SVN integration.

share|improve this answer

One more thing. Sublime Text 2

share|improve this answer
    
I miss any sort of version control integration, but what I see of Sublime Text 2 is very good. –  EmmEff Jan 7 '12 at 3:31
1  
There are plug-ins for a lot of things, including git, svn, sftp (with remote edit), code completion and more. –  Hoshts Aug 17 '12 at 7:46
    
Sublime Text is more of a modular IDE than a text editor. Install the modules you want, avoid the cruft of the ones you don't want. REPL support for the shell and many popular languages, version control integration, linting, build systems, task management. You can spend the majority of your day in it after you install the plug-ins you need. –  Jonathan Van Matre Mar 13 at 19:43

jEdit do some of your requests, but not all of them, and it's also free.

You can read here its feature and languages that it supports.

jEdit Screenshot

share|improve this answer

TextMate

Doesn't address all of your needs but I think it's pretty snaz.

share|improve this answer

ActiveState's Komodo is an excellent cross-platform IDE (it's based on Gecko, so feels as native to OS X as Firefox does).

It includes all of the features you mention. There's also a free, open-source, version, Komodo Edit that includes nearly all the features (e.g., no source code repository integration).

share|improve this answer

Ultraedit is now available for MacOS X. I haven't tried it yet. But if it comes with the same features as the Windows version (which I use on a daily basis as part of my job) it is absolutely a good recommendation.

It can do all the stuff you are asking for with the exception of providing an integration with software configuration management. Man, would I love to see this implemented.

share|improve this answer

i'd go with Fraise, which used to be Smultron. works with very many languages and has a minimalist interface. syntax highlighting.

share|improve this answer
    
fraiseapp.com for those of you who may have been wondering. :-) –  middaparka Jan 28 '11 at 21:48

An editor that gets overlooked a lot is MacVim. It's based on the venerable vim editor, from *nix, and can do everything you asked via plugins.

I show it supports 176-ish different languages, including all the ones you mentioned.

I regularly do lookups of existing methods, variables, random text phrases via a CNTRL_N or CNTRL_P mapping which searches all the open files and pops up a list of the hits.

Vim calls its projects "sessions", which stores all the files, window settings, macros, etc., for later reloading. From vim's "direct" mode, :mksession path/to/sessionfile will create it. Sourcing it later from the command-line is simple: vim -S path/to/sessionfile.

There's a great plugin called VCS, that handles my SVN stuff:

...CVS, SVN, SVK, git, bzr, and hg within VIM, including committing changes and performing diffs...

Upload to server functionality is handled by the netrw plugin.

vim does have a steep learning curve, the vimtutor, which comes with the app, can help jump-start you. Also, there are active users here and on SO's sister sites, plus on the vim IRC node on freenode.net.

Probably the most awesome thing about vim, is its available in an interfaced version on Mac OS as MacVim, on Linux using gvim, on Windows, and from the command-line of any of those OSes. vim on any of them will use the same commands, same plugins, same themes, etc., within the limitations of those environments. I bounce back and forth from Mac to Linux all day long and have at least one vim window open somewhere.

And, lest anyone think I'm not familiar with the Mac-only alternatives, I own all my copies of Coda, BBEdit and TextMate, and use them. I go way back with BBEdit, and actually used to occasionally demo it at MacWorld. It's great, but I use vim with the same settings everywhere, and none of the other editors can do that. So, if you need that cross-platform compatibility, look into it.

share|improve this answer

BBEdit by Bare Bones fulfills all of your requirements. Pricey but 100% worth it.

share|improve this answer
1  
+1. It's so nice not being the only BBEdit fan (for once). –  Dori Jan 18 '11 at 2:40
1  
+1 BBEdit is the only thing I use for non-Cocoa programming. Of the posters requests, the only thing it doesn't have is Git integration. –  Dave DeLong Jan 18 '11 at 5:59
    
It's worth adding that BBEdit is now down to $50, with a price until October 2011 of $40. –  David Jul 25 '11 at 12:32
    
+1. Used it for decade+. Intellisense type stuff: look into Ctags (BBedit supports it): "Ctags is a program that generates an index (or tag) file of names found in source and header files of various programming languages. Depending on the language, functions, variables, class members, macros and so on may be indexed." BBedit uses these indexes like intellisense. –  radarbob Apr 10 '12 at 2:46
    
BBEdit is great, I'm not an advanced user but it solves problems for me that TextMate and Xcode can't. Try opening multi-megabyte files of raw data in TextMate... (which I bought first) –  Adam Eberbach Apr 10 '12 at 4:47

Eclipse has addins for those languages and does all of the things you mention

share|improve this answer

Smultron is one of my favorites, along with TextWrangelr. Both are free.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.