Preferred Editor(s) (176)

1 Name: #!/usr/bin/anonymous : 2008-05-21 13:03 ID:/y/PlSFi This thread was merged from the former /code/ board. You can view the archive here.

What's your favorite IDE/text editor when it comes to programming? Also, what's the setup in the banner up top? http://static.4-ch.net/images/boardtitles/programming.gif, that is.

2 Name: #!/usr/bin/anonymous : 2008-05-21 13:12 ID:Heaven

vim or emacs.

3 Name: #!/usr/bin/anonymous : 2008-05-21 13:45 ID:Heaven

vi

4 Name: #!/usr/bin/anonymous : 2008-05-21 15:59 ID:Heaven

Emacs

5 Name: #!/usr/bin/anonymous : 2008-05-21 18:43 ID:Heaven

leo

6 Name: #!/usr/bin/anonymous : 2008-05-21 19:30 ID:6+WJxQFw

another vote for vim.

7 Name: #!/usr/bin/anonymous : 2008-05-21 19:33 ID:sLoVY7H/

vim

8 Name: dmpk2k!hinhT6kz2E : 2008-05-21 19:50 ID:Heaven

Evergreen or Cream

The thing up top may be TextMate. I haven't used it.

9 Name: #!/usr/bin/anonymous : 2008-05-21 19:57 ID:Heaven

ed

10 Name: #!/usr/bin/anonymous : 2008-05-21 21:22 ID:QRfQY9X1

vim

11 Name: #!/usr/bin/anonymous : 2008-05-21 21:31 ID:P9lyPrqP

VI baby. Download it for windows or unix.

12 Name: #!/usr/bin/anonymous : 2008-05-21 22:06 ID:Heaven

vim

13 Name: #!/usr/bin/anonymous : 2008-05-22 00:12 ID:sVGzgeH7

Visual Studio, please.

14 Name: #!/usr/bin/anonymous : 2008-05-22 01:17 ID:iWjjXrKb

kate

15 Name: #!/usr/bin/anonymous : 2008-05-22 01:24 ID:Hu1LGl+D

I use eclipse on windows, and vi on bsd. I find that I can get more work done in eclipse, so that's what I prefer.

16 Name: #!/usr/bin/anonymous : 2008-05-22 01:57 ID:Heaven

nvi. vim is worse than emacs.

17 Name: #!/usr/bin/anonymous : 2008-05-22 03:06 ID:Heaven

vim boots slower than emacs and does less. I don't see the point of it at all.

emacs for lisp, irc, and email. vi for editing text files.

18 Name: #!/usr/bin/anonymous : 2008-05-22 06:00 ID:IntJk+Se

Scintilla / Scite. I like my lightweight editor with good syntax editing. I shouldn't have to "wait" any time for a IDE to load.

Nano if im just making a small change in the shell =)

But then again, real programmers tap out their code to their hard drive manually with a ball point pen!

19 Name: #!/usr/bin/anonymous : 2008-05-22 11:59 ID:Heaven

Elvis!

20 Name: #!/usr/bin/anonymous : 2008-05-22 15:21 ID:W82Ml7M/

If you break into the command line on an OLPC, there's a copy of vim inside, aliased as vi because someone thought they were being clever. I've been learning to use it and like what I see.

21 Name: #!/usr/bin/anonymous : 2008-05-22 17:20 ID:Heaven

>>16
Why nvi and not vim? Address some major differences

22 Name: XeroCint : 2008-05-22 17:33 ID:w13fS0g4

Notepad, Dreamweaver

23 Name: #!/usr/bin/anonymous : 2008-05-22 20:02 ID:Heaven

>>21
the difference that bothers me the most is that vim is slow enough that i actually notice it.

24 Name: #!/usr/bin/anonymous : 2008-05-23 00:48 ID:LNU5zvHG

Banner definitely looks like Textmate, which I use and recommend.
Can't see any good reason to use clunky editors that barely changed since the 70's and are a pain to integrate with all my desktop tools.

25 Name: #!/usr/bin/anonymous : 2008-05-23 06:02 ID:FNtBeRut

emacs for coding
ultraedit / notepad++ for quick and dirty text editing
vi on remote server (coz it's a pain to use emacs without my .emacs)

26 Name: #!/usr/bin/anonymous : 2008-05-23 06:15 ID:SakQtXCL

emacs, vim, textmate

27 Name: #!/usr/bin/anonymous : 2008-05-23 06:18 ID:SakQtXCL

and textpad of course

28 Name: #!/usr/bin/anonymous : 2008-05-23 11:47 ID:Heaven

>>25

> vi on remote server (coz it's a pain to use emacs without my .emacs)

Have you tried TRAMP?

29 Post deleted.

30 Name: #!/usr/bin/anonymous : 2008-05-23 12:27 ID:Heaven

copy con

31 Name: #!/usr/bin/anonymous : 2008-05-23 13:02 ID:+tl5QlTQ

>>29

Idiot

32 Name: #!/usr/bin/anonymous : 2008-05-23 16:37 ID:l9ZMlVYv

coda

33 Post deleted.

34 Name: #!/usr/bin/anonymous : 2008-06-05 03:58 ID:Heaven

I seriously don't understand why people continue to say stupid shit like vi, elvis, and nvi.
vi was made in the 70's for unix. it hardly does anything. if you aren't running a propriety version of unix, or perhaps solaris now that it's free, then you're not using vi. Linux simply links the vi name to vim, and *bsd links vi to nvi. So everytime you type 'vi' you're running vim or nvi. nvi hasn't been maintained in years and i doubt freebsd even uses it, they probably just use vim now. elvis isn't maintained anymore either, and hasn't been forever. talking about those ancient editors if fucking ridiculous unless you working from some remote terminal, but is the OP really asking about that?
and idiots saying vim is slower than emacs, or noticing that it is slow at all is complete bullshit. this might be true if you're running gvim on some ancient computer, but nobodys mentioned gvim, we're talking about vim.

35 Name: #!/usr/bin/anonymous : 2008-06-11 02:00 ID:LBOLdwr5

vim

36 Name: #!/usr/bin/anonymous : 2008-06-11 06:16 ID:Heaven

> vi was made in the 70's for unix. it hardly does anything. if you aren't running a propriety version of unix, or perhaps solaris now that it's free, then you're not using vi.

it does a lot more than emacs.

$ emacs
emacs: Command not found.

solaris uses it's own vi:
http://www.freebsd.org/cgi/man.cgi?query=vi&apropos=0&sektion=0&manpath=SunOS+5.10&format=html
HP-UX does too:
http://www.freebsd.org/cgi/man.cgi?query=vi&apropos=0&sektion=0&manpath=HP-UX+11.22&format=html

OS X uses vim:
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/vi.1.html
apparently they somehow managed to get OS X certified UNIX 03, despite vim not being fully POSIX compliant:
http://www.opengroup.org/onlinepubs/009695399/utilities/vi.html
http://www.polarhome.com/vim/manual/v71/vi_diff.html

Vim is mostly POSIX 1003.2-1 compliant.  The only command known to be missing
is ":open". There are probably a lot of small differences (either because Vim
is missing something or because Posix is beside the mark).
> nvi hasn't been maintained in years and i doubt freebsd even uses it, they probably just use vim now.

the latest version is from less than 7 months ago:
http://www.kotnet.org/~skimo/nvi/devel/

[   ] nvi-1.81.6.tar.bz2      18-Nov-2007 18:02  1.7M
[ ] nvi-1.81.6.tar.gz 18-Nov-2007 17:57 2.2M

freebsd uses nvi:
http://www.freebsd.org/cgi/man.cgi?query=vi&apropos=0&sektion=0&manpath=FreeBSD+7.0-RELEASE&format=html
netbsd uses nvi:
http://www.freebsd.org/cgi/man.cgi?query=vi&apropos=0&sektion=0&manpath=NetBSD+4.0&format=html
openbsd uses nvi:
http://www.freebsd.org/cgi/man.cgi?query=vi&apropos=0&sektion=0&manpath=OpenBSD+4.3&format=html

> and idiots saying vim is slower than emacs, or noticing that it is slow at all is complete bullshit.
$ /usr/bin/time -h nvi -c :q TWL06.txt > /dev/null
0.49s real 0.40s user 0.06s sys
$ /usr/bin/time -h elvis -c :q TWL06.txt > /dev/null
Read TWL06.txt, 178690 lines, 1763166 chars
0.26s real 0.08s user 0.15s sys
$ /usr/bin/time -h vim -c :q TWL06.txt > /dev/null
Vim: Warning: Output is not to a terminal
2.33s real 0.22s user 0.04s sys

37 Name: #!/usr/bin/anonymous : 2008-06-12 00:50 ID:AFMGTgKG

Well, to be different, I guess I'll be honest and say I use gEdit for typical stuff, bluefish for perl/php/xhtml, and eric3 for python. The only time I use vim is when I set up the sudoers file, and I suppose I use nano to some extent when I'm running as root from the shell and can't be bothered to start something graphical.

38 Name: #!/usr/bin/anonymous : 2008-06-12 19:26 ID:Heaven

nano is dangerous because it breaks lines in an effort to be helpful. Make sure you have set nowrap in your ~/.nanorc file or use nano -w to avoid breaking important files.

This is especially important when running as root.

39 Name: #!/usr/bin/anonymous : 2008-06-13 06:39 ID:Heaven

i've just discovered this: http://ex-vi.sourceforge.net/
it's much more lightweight than vim, and has the one feature i really wanted that nvi doesn't have: support for utf-8.

i've been using nvi, but the lack of utf-8 support meant that i had to use some other editor (usually mined 2000) whenever i wanted to edit a utf-8 encoded file.

40 Name: #!/usr/bin/anonymous : 2008-06-16 00:18 ID:a3SB+yoc

41 Name: #!/usr/bin/anonymous : 2008-06-16 18:31 ID:7t0ghSF+

I've been using Eclipse on my desktop, and it works wonders for a language like Java (and is still pretty useful for Python), but it lags like hell on my low-end laptop; until now I've been using Komodo editor for my Python code because of its syntax checks and popups for functions, but it's really lacking in any ability to run and test code and previously stated features seem to only work selectively.

Is it possible to get these features into emacs or a vi derivation? From what I've used of emacs, it only really has auto-indentation (which is mostly useless in python) and coloration of code. Moreover, do any of them have useful debugger features like in Eclipse?

42 Name: #!/usr/bin/anonymous : 2008-06-16 19:17 ID:Heaven

>>41
yes they do. both of them. (vim & emacs)

43 Name: #!/usr/bin/anonymous : 2008-06-16 19:46 ID:rL5L4oZB

I use E Text Editor. It's supposedly modeled after Textmate which I've never used since I am on Windows, but it's pretty easy to use and I don't really need anything more or less.

44 Name: #!/usr/bin/anonymous : 2008-06-16 22:51 ID:OwamOtTW

nvi

45 Name: #!/usr/bin/anonymous : 2008-06-17 01:03 ID:Heaven

Sometimes I wish there were an X server+window manager that rendered into emacs frames...

46 Name: #!/usr/bin/anonymous : 2008-06-19 11:32 ID:Heaven

>>45
You mean like basically all tiling WMs?

47 Name: #!/usr/bin/anonymous : 2008-06-19 22:55 ID:XBcKzbRz

>>9
+1 for ed. I really hate having to move a cursor around.
Real programmers don't use arrow keys, including "hjkl".

48 Name: #!/usr/bin/anonymous : 2008-06-21 01:03 ID:QalE1Eaq

ConTEXT

49 Name: #!/usr/bin/anonymous : 2008-06-23 21:59 ID:Heaven

>>43
At least you won't realize how badly they butchered it. Can't stand E as a Textmate user.

50 Name: #!/usr/bin/anonymous : 2008-06-26 15:37 ID:Heaven

vim

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: