Live data from Hacker News

Ask HN: What code editor do you use?

news.ycombinator.com

61–70 of 144 posts

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

#61
post #40

I used TextMate for a couple of years but lately switched back to vim. This time I invested in a good vim setup with plugins to fill in places where it wasl lacking compared to TextMate. the config can be found at http://github.com/astrails/dotvim There is a (rather long) README with explanations of what is there and short instructions of basic use.

Thanks a lot for sharing Vitaly. I think one of the hardest things about moving to the emacs/vim world is the fact that, in addition to learning the editor, you also have to find a good .emacs/.vim file to start yourself out with.

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

#62
I don't use a single editor.

Currently I'm using Visual Studio for all .NET related things, because it's a nice, overall IDE.

I'm also getting into C++, for which I use vim in Ubuntu (although I am far, far from being a decent vim user). I couldn't stand the way it tried to handle everything by default and felt like it was interfering with my understanding of C++ dev. I also didn't like the way the VS solution layout doesn't match the disk layout. I wanted to get more down and dirty with my compiler, and possibly learn make.

I also interchangably use Notepad++, Textmate and e-texteditor depending on what's available on the machine I'm on.

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

#63
post #49

Your question's made me realise something I completely wasn't aware of! In my many years of coding I always seem to have 2 separate editors open: one for coding and one for editing. Currently at work, it's eclipse for Java development, and Textpad for all quick editing, regular expressions, mass find/replace across files, large files, etc.

That's an interesting observation. Before going back to school, I worked at a place where Eclipse was the gospel. And Eclipse is a wonderful tool when you're a Java coder, but I often found myself doing exactly the same thing (except with TextMate for the mac) -- when I needed to hack up a file to make changes, I'd copy everything into TextMate, run a bunch of RegEx search and replace jobs, and then paste it back into Eclipse.

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

#64
I always hesitate to post on these types of questions: everyone seems to be Java, Ruby, Python, etc and I feel like the Microsoft stack outcast!

Visual Studio 2010 at home and 2008 at work. We're primarily .NET so the two just kind of go hand in hand. I'm also spoiled by intellisense.

I also use Eclipse at work since we've been doing a lot with GWT on the client side (thought still using .NET on the backend).

Finally, I'll often use notepad++ for anything JavaScript simply because it takes far too long to load up VS when I want to do something small/edit a file/etc.

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

#65
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 accidentally used Vim the other day. I noticed Vim now has Emacs keybindings -- C-n goes to the next line, C-p goes to the previous line, etc. For a second, I thought that C-x C-s was going to save my file and I was going to be able to exit with C-x C-c. Nope. I had to make the journey over to the ESC key. So close...

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

#66
post #33

> I've used Emacs in the past, but something about the way in which you can navigate code just makes me feel less than efficient in it. Have you ever tried IDO, http://www.emacswiki.org/emacs/InteractivelyDoThings ?

Indeed. I don't even have to think about files anymore, thanks to eproject. If I want to edit my module Foo::Bar, I just say visit-project-file (C-c C-f), type in ::Ba or some other convenient substring, and hit enter. Now I'm there.

And that's the worst case. If I want to see the definition of some function that the point is currently near, I just press M-. to visit it. And M-* to pop back to where I was before.

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

#69
For my day job, Eclipse + PDT due to a number of quirks in the dev environment.

Otherwise I'm using Vim exclusively, and hope to someday be pretty good with it. ;^)

When I was on Windows I used EditPlus and still advocate it for Windows users. Fast, capable, customizable, and the developer was always very responsive to my questions and requests.

Post reply on HN