Live data from Hacker News

Ask HN: What code editor do you use?

news.ycombinator.com

81–90 of 144 posts

Re: Ask HN: What code editor do you use?

#81
post #13

Sublime Text. It has the minimap. It has multiple cursors. It has macros. It has plugins. It has color schemes. It's simple. It's beautiful. It's actively developed. It's affordable. Downsides? It's Windows only.

http://www.sublimetext.com/features This looks like a great editor. It's proprietary, though. Damn. Why is it that, as with Opera, every now and then you find an amazing program which, even more amazingly, is closed-source? Emacs, however, offers minimap as well: http://www.emacswiki.org/emacs/MiniMap I wonder how well we did compared to Sublime.

These days, I'm actually more amazed when I find an amazing desktop program which is open-source. Maybe it's just because opinionated software appeals to me.

Re: Ask HN: What code editor do you use?

#82
NetBeans with jVi plugin (vim style editing) for projects and vim for one-offs. Netbeans has good support for PHP and Python auto-complete, etc. jVi plugin faithfully recreates vim experience. Downside is that NetBeans can be slow and crashes about once per day. It is worth it for fast searching, switching files, jumping to function/class definitions, etc.

Re: Ask HN: What code editor do you use?

#83
post #76

emacs. first job out of college, got put on a team that used emacs, so i learned emacs. things i love: non-modal interface (used vim in college, found myself frequently cursing its modes: "do what i think, not what i type!"); lives on every system i work on; does not require smelling salts after encounters with large files; insanely flexible and powerful things i hate: insanely flexible and powerful (i.e., large inve…

Emacs 23 has anti-aliasing.

http://emacs-fu.blogspot.com/2009/01/emacs-23.html

Re: Ask HN: What code editor do you use?

#84
We do most of our stuff in C# and JavaScript, so I use Visual Studio 2008 with Resharper and Viemu plugins. Reshaper really does make visual studio a whole lot better, it's definitively worth a try if you code in C#. Viemu is a set of vi-bindings for visual studio.

Worst part about using VS2008 is the intellisense for JavaScript, it's so bad it is actually a slight annoyance. Supposedly the JavaScript intellisense for Visual Studio 2010 is a lot better.

Re: Ask HN: What code editor do you use?

#85
On a work email list I wound up writing something that answers the question fairly clearly:

  vi I use to write my code for work,
  It's modal and quite light, so quick to type
  I'm glad to use it for the great big perk
  That it lives up quite nicely to its hype

  But emacs I do not so choose for me,
  I fear the chords would sorely hurt my hands
  And carpal tunnel is so bad you see
  That misery makes it for me be banned.

  I know this is not good according to
  The cult of emacs users that I find
  Would tell me to not speak until I knew
  Why theirs was the best editor for mind

  But I cannot agree with them and so
  vi I use and now will say no mo!

Re: Ask HN: What code editor do you use?

#86
post #36

I used to use jEdit, which is still a very nice editor. And it ran on Mac/Unix/Windows, which was good because I moved among all three systems. But the last I looked (three or four years ago) development had stalled. And I got into a job where I periodically had to SSH to various Solaris boxes and edit on the console, in Vim. I knew just enough Vim to edit config files and simple shell scripts without too much pain.…

I have used both Emacs and Vim extensively. Personally, I find Vim groks the idea of text manipulation much better. The key binding scheme/system actually feels like something that you can build upon, bindings string together nicely.

It's also just much lighter and goes with my preference of using the simplest tool that does the job.

Re: Ask HN: What code editor do you use?

#87
I use TextMate for most things, Espresso for working on HTML mailers and (some) static sites, XCode for iPhone/iPad, and Eclipse for my most hated projects (Adobe Flex/AIR mostly. I don't hate Flex, I just hate Eclipse).

I use Inconsolata font at 14pt and a modified Monokai theme (with darker background) whenever possible.

About once a year or so I decide I'm going to switch to vim. I spend about a week getting my vimrc and plugins set up and use it for a couple more weeks, before I eventually get sick of keyboard navigation and NERDTree and go back to TextMate. I know that with MacVim I get things like scrollwheel support and mouse navigation, but if I'm using those anyway I might as well use them in TextMate and get back my tab triggers and other shortcuts.

It's always good to brush up on vim once in a while though, since it often comes in handy when you need to edit config files on a server or when you are collaborating with a developer who uses vim exclusively. I also wish TextMate had split panes and some of the keyboard shortcuts (o, O, I, and A come to mind), but overall my productivity is better with TextMate.

Re: Ask HN: What code editor do you use?

#88
I'm finding RubyMine to be great for rails webapp development. Hopping through a project to method or class or migration definitions, the "view model dependency diagram", and good git integration make for a pretty nice IDE.

The main good thing about vi is that it's ubiquitous. You really should know how to use it, at least cursorily.

You can certainly use emacs over ssh (and you know about ssh's X11 forwarding, which let's you run a remote pointy-clicky editor rendered locally?).

Depending on your network and the files you're playing with, sshfs might be a relevant tool to view the files "locally".

If the files are really big, man the "split" command.

Re: Ask HN: What code editor do you use?

#89
post #76

emacs. first job out of college, got put on a team that used emacs, so i learned emacs. things i love: non-modal interface (used vim in college, found myself frequently cursing its modes: "do what i think, not what i type!"); lives on every system i work on; does not require smelling salts after encounters with large files; insanely flexible and powerful things i hate: insanely flexible and powerful (i.e., large inve…

> i still have regular arguments with tabs/spaces/indentation

Clearly, you should end your files with ".py".

> navigating code efficiently

Use xcscope, if your language is supported. Obvious, and you've probably tried it (and now, probably don't care), but worth mention, for others at least.

Post reply on HN