7 ms·
Ask HN: Best code editor?
Hi, I currently use Notepad++ which I'm really satisfied with. I love Visual Studio but is just a hastle to work with sometimes(long loading time, not useful when working with 1 code file(etc), no reason to create a new "web project" instead of a file, etc).
I'd love to know what you use and if you're satisfied with it?
- yters 17y agoI like writing things down with pen and paper, then running it through in my head. Once everything is perfect then i might touch a keyboard. Manipulating things in the head is much quicker than anything else I've used.
- jawngee 17y agoI use floppy disks and magnets. You aren't worth the trash you produce if you can't code without a keyboard ...
- boskone 17y agoIn the last 2-3 years emacs has just improved and improved. Like most it originally took me 2-3 distinctive efforts to "go emacs", but it pays off. Emacs is just outstanding if you are a code slinger. If your an admin and edit a couple of config files now and again, maybe VIM, though IMHO emacs is superior for even simple editing as well. Emacs, Emacs, Emacs.
- parse_tree 17y agoi program in C the most , and for that, hands down emacs is the best (I think its arguably the best period as well). C + emacs + gdb > sex
- jaddison 17y agoUltraEdit and Komodo are good. Komodo has a free version, I think.
- chaosmachine 17y agoKomodo Edit. It's open source. http://www.activestate.com/komodo_edit/ http://www.activestate.com/komodo_edit/
- jaddison 17y agoTrue, I should have mentioned that!
- CraigBuchek 17y agoI've been using Komodo Edit a lot lately. The nice thing is that I get the same editor in Windows, Mac OS X, and Linux. And the snippets are nice, similar to TextMate.
- TheElder 17y agoI use ultra edit nearly every day. I love search/replace with regular expressions.
- barredo 17y agoLoved ultraedit when I was a "Windows-guy"
- camflan 17y agovim
- mhansen 17y agoVim tutorials, splitting the beast into manageable chunks: http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial...
- hgimenez 17y ago+1, vim hands down. Cross platform, powerful, lightweight, configurable, etc
- RiderOfGiraffes 17y agoanother +1, but you need to learn to use it properly. Tags, windows, changing files, external commands, macros, etc. It's not user friendly, in fact it's downright user hostile, but it's powerful, and written for hackers.
- mrshoe 17y agovim is one of the most user friendly pieces of software I have ever used. The interface is incredibly efficient. The designers put great effort into making sure that common tasks were one or two keystrokes that usually don't even require moving your fingers off the home row. Just because it's not the most discoverable interface doesn't mean it's user hostile. I wish more software designers would look at vim as an example. A text editor falls into the category of software which users spend a ton of time using. For those types of software a steeper learning curve is completely accpeptable if it means the users can operate the software without even consciously thinking about it once they've learned how to use it.
- shawnjgoff 17y agoI agree. It's like Photoshop: at first you're like "WTF were they thinking?" until you really use it and see what geniuses they were.
- 17y ago
- alx 17y agoTextmate
- barredo 17y agoLove textmate, use it as main text editor, but it's time for Textmate 2 and its split-screen option.
- davepeck 17y agoTextMate needs split-screen today. It still surprises the hell out of me that they haven't issued a 1.X point release that adds this feature. WTF?
- thismat 17y agoThat's the thing that really depresses me about TextMate, I use it and like it a lot, but it's starting to feel old and could really use a fresh coat of paint and some new pictures on the wall.
- Sapient 17y agoOr the Windows clone, e-Texteditor. Macs are far too expensive in Africa...
- AdamGibbins 17y agoMacs are overpriced everywhere Sapient, I don't think its specific to Africa ;-)
- lewro 17y agoCoda on MAC is great.
- Legion 17y agoCoda drives me nuts just because it is Mac (not "MAC") only. I bounce from machine to machine, and I hate it when a tool I like on one machine is simply absent on the next. I know Panic is all about Mac software, but I wish they would find a way to get apps like Coda up and running on other platforms.
- randallsquared 17y agoYeah, the difference between Coda at home and vim at work (where I use Windows as a terminal client to Linux dev boxen) has driven me back to vim on my Mac as well, just to avoid the finger-confusion. :/
- j79 17y agoCoda is great! I use it along with BBEdit (which is an equally awesome, straight-shootin' text editor)
- alx 17y agonano
- mahmud 17y agoit takes a real man to admit that, bravo!
- MrSomeone 17y agoCrimson Editor.
- nixme 17y agoEmacs. And yes, I'm very satisfied with it. Everytime I see a feature in another editor I like, EmacsWiki usually has an implementation or guide. Plus emacs has org-mode...
- mixmax 17y agoEmacs isn't for everyone though. I gave it a try around a year ago since a lot of people I respect (looking at you HN) seem to worship it. After around a month I still thought it to be arcane and backwards. I even posted here to get some feedback on what I was doing wrong (http://news.ycombinator.com/item?id=313025 http://news.ycombinator.com/item?id=313025) but we just never got along, Emacs and I. After around 2 months I went back to notepad++. I'm not saying emacs is a bad editor, on the contrary, just that it's not for everyone and that it does seem to require a substantial effort before you're really productive in it.
- yangyang 17y agoI used vim for over 12 years before switching to emacs. The thing that made me switch was looking at some insane vim-script to indent Python (or something like that - I don't rememember). I love emacs now. Yeah it takes ages to learn, moving around isn't quite as quick as hjkl in vi, emacs lisp isn't perfect, but it really is worth it. Nothing is as powerful. 23 even lets you connect to a running process from a tty and GUI simultaneously. And yeah - org-mode is great. As is the gdb integration.
- jcromartie 17y agoI started using Emacs for a job that used a custom framework built around an old version of a rather non-mainstream language. I found some Emacs modes for the language, but they were a few versions ahead of what we were using. I was able to hack them pretty easily. The thing that amazed me was exactly how much else I managed to squeeze out of Emacs compared to the other editors I explored. I had editor commands to jump around and create new files and run and test our stuff. Yeah it's a long slow learning curve, but in the end I had built a decent development tool for this particular job. If I had used any other editor, it would have just been a text editor, and nothing more. With Emacs I could build real tools and multiply my effectiveness. If this job weren't Windows-only (yeah...) I would have used TextMate, but I think I'm better for forcing myself to learn Emacs.
- jacquesm 17y agoIf you want to go commercial on windows check out ultraedit.
- moai 17y agoGeany
- alrex021 17y agoAquamacs (Emacs for Mac) http://aquamacs.org/ http://aquamacs.org/
- yangyang 17y agoI really didn't get on with aquamacs. It'll do your head in if you use emacs on other platforms. You can use other emacs builds on mac OS. I use Carbon Emacs. Emacs 23 has a native cocoa build now.
- intranation 17y agoThe 23 Cocoa build is a bit broken, though: http://atomized.org/2009/08/cocoa-emacs-231-cvs-builds-and-the-nextstep-port/ http://atomized.org/2009/08/cocoa-emacs-231-cvs-builds-and-t... I've since reverted to the Carbon Emacs 22 build (since I can't cope without fullscreen).
- jimbokun 17y agoIt's great, though, if you are used to Mac applications and learning Emacs for the first time. Kind of like training wheels for Emacs.
- charrington 17y agoI used Aquamacs for 2-3 years but never really learned emacs until I swapped Aquamacs for Carbon Emacs and learned the real thing. Training wheels is a good analogy. You aren't really riding a bike if you use training wheels and they slow your progress in actually learning. Sure you can get to your friend's house, but you look like a dork. I found the Emacs Starter Kit (http://github.com/technomancy/emacs-starter-kit/tree/master http://github.com/technomancy/emacs-starter-kit/tree/master) and the Meet Emacs Peepcode Screencast (http://peepcode.com/products/meet-emacs http://peepcode.com/products/meet-emacs) to be awesome. After a couple hours of working through the screencast, I was a 5x better Emacs user than I had been after 2+ years of Aquamacs use. You have to "get" Emacs and Aquamacs doesn't force you to do that. The $9 for the Peepcode screencast was the best money I've spent in a long time.
- 17y ago
- vyrotek 17y agoVisual Studio 2008 - Love it. I don't notice any load-time issues, but maybe thats because I never close it.
- pmichaud 17y agoVS is probably the best product Microsoft makes, it's spoiled me for other IDEs.
- j79 17y agoI'm a huge fan of VS as well. When I'm at home on my personal machine, it's always a bit of a letdown when Intellisense doesn't kick in...
- TeHCrAzY 17y agoI don't understand, why do you not have intellisense at home? The Express editions have intellisense, right? http://www.microsoft.com/express/ http://www.microsoft.com/express/
- TeHCrAzY 17y agoAdd in the combination of Resharper and Visual SVN, and it walks circles around anything else.
- eworoshow 17y agoWith ViEmu it's my favourite environment in which to write and, more importantly, debug code.
- travisjeffery 17y agoI switched multiple times for long periods, learnt each's scripting languages, customized the hell out of each, wrote extensions and in the end right now I'm happiest with being a speed demon with my vim keybindings-fu. But really the only editors worth learning and using are Emacs and Vim, decide between which one or use both.
- deleted 17y ago[deleted]
- johndoe77 17y agoEclipse
- Legion 17y agoI have come to really appreciate Eclipse. It's come a long way since the first time I tried to use it. Eclipse, plus vim in a terminal window, take care of all of my editing needs.
- timmfin 17y agoPersonally I bounce back and forth between vim, eclipse, and textmate depending on the project (eg: shell, java, web). Also, I'd recommend eclipse users (that are vim fans) to try out viplugin (http://www.viplugin.com/viplugin/ http://www.viplugin.com/viplugin/). It is far from supporting all of vim's commands, but it has enough for me to feel comfortable.
- jacquesm 17y agoEclipse (and intellij) are both resource hogs though.
- Legion 17y agoI won't necessarily dispute this, but those "resources" on my system are there to be used. Sometimes it seems like people buy quad-core machines and 8GB of RAM, and then are angry if an app uses more than 1% of CPU and a few MB of that RAM. I'm not going to sit here and say that Eclipse's hour-long startup time doesn't annoy me, though...
- jacquesm 17y agoThe hour long startup time was what I had in mind, time is my most precious resource. The RAM I couldn't care about, that's fairly cheap these days. I haven't a clue what that software does when it starts up but there has to be some way to optimize it. Intellij is not much better.
- sfk 17y agoThis thread would be incomplete without mentioning ed: http://www.dina.dk/~abraham/religion/ed-standard http://www.dina.dk/~abraham/religion/ed-standard
- midnightmonster 17y agoscribes http://scribes.sourceforge.net/ http://scribes.sourceforge.net/
- shawnjgoff 17y agoThanks! That looks superb.
- mdasen 17y agoI'm a fan of NetBeans. It isn't for everyone. Sometimes one wants something lightweight. However, NetBeans has a lot of nice things. Refactoring helpers are wonderful. They make it so much easier to change the name of something when its meaning changes so that the code stays clean. Like many visual editors (rather than command line things like vim), it can do tabs and show a tree of files on the left pane. It supports a lot of different languages and even has some great hooks for running a project on your local machine. It can also detect some problems - unused variables, unused imports, syntax problems, etc. which means that you can catch small errors fast. It does have its faults (like any piece of software), but it can be very helpful.
- _sh 17y agoI spent an afternoon wandering around the NetBeans profiler and have not opened Eclipse since. It has spoiled me. http://www.netbeans.org/features/java/profiler.html http://www.netbeans.org/features/java/profiler.html
- jamesbritt 17y agoI recommend NetBeans to Ruby developers who, for whatever reasons, can't get into Vim. It has really nice Ruby support, which is especially handy if you're doing Rails and want to get a grip on the mass of directories and files. Plus the GUI editor kicks ass for doing JRuby Swing stuff. Icing on the cake: There's a vi plugin. :)
- drhowarddrfine 17y agoGoogle the same question and join the thousands of other threads that have asked the same question just in the past week. Continue on to find the millions of threads that asked the same question over the past decade.
- th0ma5 17y agojedit
- shawnjgoff 17y agoJedit is amazing. It's like the Firefox of text editors - not the smallest or fastest, not the biggest or slowest, but reasonably quick and very very extensible. I would say that other tools (vi and especially emacs) are also very extensible, but Jedit has no learning curve and fits in well with Windows. That said, I'm slowly becoming more efficient in vi and it will eventually overtake Jedit for myself.
- andrewl 17y agoI used jEdit for a long time. It's an excellent editor, but I left it behind for Vim. I had to spend a lot of time on remote machines and I needed something with a console mode. It's my impression that it was orphaned. Is it still under active development? I'd like it to keep going.
- memorius 17y agoI use Eclipse for java and xml, falling back to jEdit (which I used exclusively for several years) for pretty much every other file type. jEdit is great for its impressive range of language syntax highlighting support, large selection of small and useful plugins, good search/replace features, and ease of writing your own syntax highlight modes, recording macros, etc. As others have said, it has the power of emacs or vim, and everything is customizable, but it lacks any substantial barrier to entry. It also has the advantage that you can use the same user profile on multiple platforms (e.g. linux/windows) - before I ditched my Windows machine I ran like that, rsync'ing everything to/from linux at work. It's certainly still being developed, though activity is less than in the past. Last release was July: http://jedit.org/index.php?page=devel#schedule http://jedit.org/index.php?page=devel#schedule I've found that the latest 4.3 releases are very stable and largely feature-complete for the purposes I use it for.
- chaboutime 17y agoI've been using jEdit for years now for all non .NET dev which I use Visual Studio due to code insight mainly (who can remember all the library stuff!). jEdit is great, it works on both Windows and Linux with no visual quirks, you easily make up your own syntax for custom languages, it has a console, a file system and a project viewer plugin. Also it has subpixel sampling for fonts which keeps my eyes not falling off the sockets after long time hacking. Finally a feature that I have not found in other editors in the custom folding modes (like the region thing in VS) which makes it easy to understand the structure of long files. The only negative issue that I 've noticed so far is the missing character substitution for foreign languages due to the Java thing. For example if you use a monospace font other than courier new and your code/resources contains multiple languages, english, greek, japanese etc you get squary blocks all over the place. All native Windows and Linux apps do automatic font substitution!
- californiaguy 17y agoIf you're a unix dev and want to be taken seriously, use Emacs or vim. Otherwise people will just laugh at you behind your back. Or to your face.
- shawnjgoff 17y agoOr joke about you in irc while secretly not using either tool themselves.
- californiaguy 17y agoKids these days...
- j_baker 17y agoNah. You can run IRC on emacs too!
- thismat 17y agoThis just summed up exactly why I don't use IRC anymore.
- mkeblx 17y agoNotepad. It's a simple, feature-rich, light-weight editor. The learning curve is long and steep though, but well worth it. I've been using if for 3 years now and still don't know all it's bells and whistles. Best of all it comes preinstalled on a lot of OSs so you don't have to go through a laborious install process.
- mhansen 17y agoUrgh. I actually see people in my computer science classes use Notepad to write code... it pains me.
- sammyo 17y agoNot as effecient as the cat editor. $cat > $kernelroot/drivers/custom/screen_driver.c [note, you learn not to make any typos eventually]
- iigs 17y agoYou're clearly being sarcastic, but Notepad is actually pretty darn good for a lot of minor coding tasks. It would be keen if MSFT would add a few more features and disable them by default, but on balance it's usable for quite a few things.
- jdp 17y agoLately I've been using Textadept - http://caladbolg.net/luadoc/textadept2/manual/1_Introduction.html http://caladbolg.net/luadoc/textadept2/manual/1_Introduction... - and I like it a lot. It's a lot like vi in that most menu items have a key sequence, you can split buffers, but everything is in GTK. It's also 100% extensible through Lua, the only drawback is that there aren't many themes and theming it yourself could be a little smoother.
- matttah 17y agoI use Kate for GUI and nano at command line.
- jakecarpenter 17y agoEmacs would be a great OS if only it had a good text editor... Seriously though, isn't this like asking what kind of car is the best to drive? I like vim, nano, n++, and textmate, but the "best" for me changes as often as my mood.
- cema 17y agoI use a variety of editors, and it all depends on what kind of editing I am doing. Emacs is good for a lot of things, so I usually keep an instance open, but I do not always keep up with the language-specific modes, so I also use language-specific or project-specific software such as Visual Studio or Blackberry JDE (or even occasionally Netscape++) on Windows. Emacs however has a steep learning curve. It is worth it in the long run, but I understand why many people shy away from it. Modern emacs distributions have icons and helpful toolbars and are not too intimidating, so if you think about it, give it a try. Oh yes, and I run vi (vim or gvim) once in a while just so that I would not forget what it feels like, that's all. :-)
- metachris 17y agoi use bluefish a lot and like it very much: http://bluefish.openoffice.nl/ http://bluefish.openoffice.nl/
- oneplusone 17y agoE. Stupid name, great editor. It is like TextMate for windows. http://www.e-texteditor.com/ http://www.e-texteditor.com/
- beta 17y agoLets not forget good o'll gedit! No but seriously, gvim all the way.
- rwolf 17y agogedit didn't make the list yet? for shame! syntax highlighting, auto-indentation, line numbers, multi-line tab, multi-line comments (with a plugin), installed whether you want it or not with ubuntu.
- grandalf 17y agogedit is a nice editor... I used it before switching to emacs... Some of the emacs modes offer a nice bit of additional power that gedit is lacking, plus gedit requires more dependency on the mouse than emacs. but for people who are asking about textmate for linux... it's called gedit.
- talleyrand 17y agoI love Geany (for Linux and Windows) http://www.geany.org/ http://www.geany.org/ I spent a while looking for a replacement for my old favorite PSpad when I switched from windows, and this was it.
- hamidp 17y agoVisual Studio + viemu for vi keybindings. The sum of the two is far greater.
- merrick33 17y agoCoda love it, used to use textmate
- joe_bleau 17y agoCodewright. Very satisfied (since '01!). Too bad Borland killed it. Ultraedit isn't bad, but it's not in quite the same class as Codewright.
- icey 17y agoMy guilty pleasure is editpad pro on xp. I should be using other editors, but I always end up using it whenever I'm on a windows box.
- synnik 17y agoButterflies.
- JimmyL 17y agoDepends on what I'm doing, and in what language. For Java/Python projects, Eclipse (with appropriate plugins). For Ruby, jedit. For one-file shots, Notepad++. For live editing of remote files - which I shouldn't be doing - E or WinSCP. Ultimately, I don't think IDEs are something for which we can determine a "best" one. We can divide them into tiers - vim is more powerful than Notepad, for example - but once you get to that top tier of functionality it's all about what you as an individual are used to and have customized to your workflow/needs.
- lbolognini 17y agoSublime Text Editor
- ElbertF 17y agoSciTE on both Linux and Windows. Simple and highly configurable.
- wlievens 17y agoEclipse
- mdoar 17y agoemacs, 20 years, nothing else comes close