Live data from Hacker News

Ask HN: What code editor do you use?

news.ycombinator.com

101–110 of 144 posts

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

#101
post #43

Vim is like a virus that plants itself directly into your brain. Using it has crippled my ability to use "normal" text editors. No longer am I satisfied with default application navigation controls. I can't use a browser without Vimperator installed. How can this madness be stopped!?

Madness? This is VIM!

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

#102

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…

If you like Eclipse and miss some of its features in Visual Studio I can really recommend Studio Tools: http://submain.com/products/studiotools.aspx I used to run Resharper when I used Visual Studio 2005, but with 2008 there's much less need for it.

There's one thing I lack for Visual Studio though, and that is the ability to highlight a searchterm in a file.

Anyone knows of a simple way of getting that?

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

#103
post #50
post #18

Ye can gain mine Emacs when ye wrest it from mine chill, mortified fingers.

O ye'll tak' the high road and I'll tak' the low road And I'll be a editin afore ye For me and my emacsen will ne'er wont to gae On the Vim Vimmy scriptin o' productivitin'

Emacs be an organism. It be runnin' all the while. On the other hand, I'll admit to using vi from eshell.

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

#104
post #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.

What if his files end with ".hs"?

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

#105
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...

I think you're supposed to map Caps to be an ESC key in vim, just like most people who use emacs map it to be an extra Ctrl.

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

#106
post #43

Vim is like a virus that plants itself directly into your brain. Using it has crippled my ability to use "normal" text editors. No longer am I satisfied with default application navigation controls. I can't use a browser without Vimperator installed. How can this madness be stopped!?

learn emacs. Yeah, I know what that sounds like. You don't have to also use it forever, just for, say, 6 months. Then you use both at the same time. You're brain will have rewired a pretty sturdy understanding of different ways to edit and you'll be able to switch painlessly between emacs, vim and non-editors (like the HN textbox).

Well anyway, it worked for me. I have no trouble switching between the 3 editing modes while I program, edit configs and write email (thunderbird for now).

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

#107

Earlier quoted context omitted.

If you like Eclipse and miss some of its features in Visual Studio I can really recommend Studio Tools: http://submain.com/products/studiotools.aspx I used to run Resharper when I used Visual Studio 2005, but with 2008 there's much less need for it.

There's one thing I lack for Visual Studio though, and that is the ability to highlight a searchterm in a file. Anyone knows of a simple way of getting that?

In vim, it's :set hlsearch http://vim.wikia.com/wiki/Highlight_all_search_pattern_match...

Emacs has many ways of highlighting search terms: http://stackoverflow.com/questions/385661/emacs-highlight-al...

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

#108
post #104
post #89

Earlier quoted context omitted.

> 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.

What if his files end with ".hs"?

[deleted]

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

#109

Earlier quoted context omitted.

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...

I think you're supposed to map Caps to be an ESC key in vim, just like most people who use emacs map it to be an extra Ctrl.

No, you map it to Ctrl, and use Ctrl-[ instead of Esc.

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

#110
post #107

Earlier quoted context omitted.

There's one thing I lack for Visual Studio though, and that is the ability to highlight a searchterm in a file. Anyone knows of a simple way of getting that?

In vim, it's :set hlsearch http://vim.wikia.com/wiki/Highlight_all_search_pattern_match... Emacs has many ways of highlighting search terms: http://stackoverflow.com/questions/385661/emacs-highlight-al...

That's nice, but totally not what I was asking for. :-)

After some more googling it appears Visual Studio 2010 has the feature, almost, and a simple plugin gives the exact functionality I want. Dunno if I want to upgrade to 2010 yet though. Hm...

Post reply on HN