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.

101 Name: #!/usr/bin/anonymous : 2008-08-27 19:29 ID:UGXKGZUt

autodocumentation is ok. if its good enough for python and qt its good enough for me.

102 Name: #!/usr/bin/anonymous : 2008-09-16 07:17 ID:Ddkq038V

kate and vi

103 Name: implicit!!zpFA+RSv : 2008-09-16 23:42 ID:jq14/JzN

I mostly use THE, but occasionally I also use vi (ex-vi in particular).

I actually really like se but it doesn't work on modern *nix. Maybe I should update and port it.

104 Name: #!/usr/bin/anonymous : 2008-09-17 11:17 ID:Heaven

>>103
THE? se? Links.

105 Name: #!/usr/bin/anonymous : 2008-09-17 11:18 ID:Heaven

>>103
THE? se? Links.

106 Name: #!/usr/bin/anonymous : 2008-09-17 11:18 ID:Heaven

>>104,105
This place sucks :(

107 Name: #!/usr/bin/anonymous : 2008-09-17 19:15 ID:tj7/Yqxf

>>95

HAHAHAHA

You need to learn a lot more about markup languages.

108 Name: #!/usr/bin/anonymous : 2008-09-18 01:05 ID:tGotYw0e

ed for the win.

109 Name: #!/usr/bin/anonymous : 2008-09-23 18:26 ID:HrTOniPH

>>104 >>105
THE: http://hessling-editor.sourceforge.net/
You can probably find the "se" source code in the comp.unix.sources archive.

Both are descended from XEDIT, an editor for IBM mainframes.

There's also a related editor that works on windows, Kedit.

110 Name: /vim/usr/uh : 2008-10-07 23:42 ID:ay9UkEIz

vim!

111 Name: #!/usr/bin/anonymous : 2008-10-08 06:22 ID:GiFR+c1+

> You can probably find the "se" source code in the comp.unix.sources archive.

http://isc.org/sources/editors/se-1.3.php

I actually really like se but it doesn't work on modern *nix. Maybe I should update and port it.
http://www.gifford.co.uk/~coredump/se.htm
it compiles without any changes on ubuntu 8.04, i managed to get to compile and run on freebsd 7 with some minor modifications (removing a couple incorrect function declarations, replacing #include <termio.h> with #include <termios.h>, linking with libcompat, etc.; easy stuff)

112 Name: #!/usr/bin/anonymous : 2008-10-08 06:22 ID:GiFR+c1+

> You can probably find the "se" source code in the comp.unix.sources archive.

http://isc.org/sources/editors/se-1.3.php

> I actually really like se but it doesn't work on modern *nix. Maybe I should update and port it.

http://www.gifford.co.uk/~coredump/se.htm
it compiles without any changes on ubuntu 8.04, i managed to get to compile and run on freebsd 7 with some minor modifications (removing a couple incorrect function declarations, replacing #include <termio.h> with #include <termios.h>, linking with libcompat, etc.; easy stuff)

113 Post deleted.

114 Name: #!/usr/bin/anonymous : 2008-10-19 11:39 ID:Heaven

Autodocumentation is fine, but shitty autodocumentation is shitty.

Problem is, to add enough autodocs to turn API documentation into a usable manual, both formats (Javadoc proper and .NET XMLified crap) are inadequate as they add to much formatting cruft. It would be better if we could just write Markdown in there and not have to think about tags except when linking to another method...

115 Name: #!/usr/bin/anonymous : 2008-11-02 13:25 ID:3qJa2MMY

Me, I usually write a small game to teach me a new language.
Learn how to use a library that interests you and do something with it, anything.
Like, learn SDL and make a little arcade game. Or a crappy music player using GTK. You get the point.
And keep some open source programs for reference (or use google's code search) when you get stuck at something.

116 Name: #!/usr/bin/anonymous : 2008-11-02 13:31 ID:3qJa2MMY

>>115
Uhh, that post was supposed to go into another thread.

I've used first Visual Studio, then Emacs, then vim for a few years. Then I switched to nano and never looked back.
I use GEdit occasionally, too.

117 Name: #!/usr/bin/anonymous : 2008-11-02 15:46 ID:8jr9/MCr

>>87

>do you name it "strPathName"

No, you establish proper hungarian notation standards for your project and/or company, and name it fqfnRequestedFile (or cfn for canonical filename after resolving links, etc), because the compiler doesn't need you to name the variable "str" to know that it's a string, and you're looking at the function definition where the parameter is declared as a string so a sane human wouldn't need the name to know that either.

Also to the people griping about how caring about relative vs absolute paths is wrong: consider the case of server applications with permissions on given directories, and you need to know what directory your file is actually in.

On topic: vim

118 Name: #!/usr/bin/anonymous : 2008-11-06 18:15 ID:ucqkjwth

I use TECO.

I'm not even joking. It's a steep learning curve and it takes a little while to get used to, but so much power in so little space... literally every string of characters you can type on a standard US keyboard is a valid TECO command sequence. And yet the whole thing is small enough to fit on the tiniest embedded system!

Why yes, I am a total geek, how could you tell?

119 Name: #!/usr/bin/anonymous : 2008-11-07 20:57 ID:Heaven

>>117
man 3 realpath

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

>>118

ITECO isn't that hard$

121 Name: #!/usr/bin/anonymous : 2008-11-10 05:43 ID:Heaven

>>118
this TECO?

@^UB#@S/{^EQQ,/#@^UC#@S/,^EQQ}/@-1S/{/#@^UR#.U1ZJQZ\^SC.,.+-^SXQ-^SDQ1J#@^U9/[]-+<>.,/<@:-FD/^N^EG9/;>J30000<0@I/
/>ZJZUL30000J0U10U20U30U60U7@^U4/[]/@^U5#<@:S/^EG4/U7Q7;-AU3(Q3-91)"=%1|Q1"=.U6ZJ@i/{/Q2\@i/,/Q6\@i/}/Q6J0;'-1%1'
>#<@:S/[/UT.U210^T13^TQT;QT"NM5Q2J'>0UP30000J.US.UI<(0A-43)"=QPJ0AUTDQT+1@I//QIJ@O/end/'(0A-45)"=QPJ0AUTDQT-1@I//
QIJ@O/end/'(0A-60)"=QP-1UP@O/end/'(0A-62)"=QP+1UP@O/end/'(0A-46)"=-.+QPA^T(-.+QPA-10)"=13^T'@O/end/'(0A-44)"=^TUT
8^TQPJDQT@I//QIJ@O/end/'(0A-91)"=-.+QPA"=QI+1UZQLJMRMB\-1J.UI'@O/end/'(0A-93)"=-.+QPA"NQI+1UZQLJMRMC\-1J.UI'@O/en
d/'!end!QI+1UI(.-Z)"=.=@^a/END/^c^c'C>

122 Name: #!/usr/bin/anonymous : 2008-11-12 19:06 ID:Heaven

>>121

Though, in TECO's defence, brainfuck interpreters look like that in every language.

123 Name: #!/usr/bin/anonymous : 2009-07-31 16:35 ID:YRHXVedo

At work: VisualStudio + VisualAssist + nFringe
It just makes life much easier :P

At home: Notepad++ (Windows), CodeBlocks (Windows, Linux)

124 Name: #!/usr/bin/anonymous : 2009-08-09 08:16 ID:WDeMYFTA

I seem to be the only one who uses Smultron, though I only use it on my Mac laptop (obviously).

Everywhere else I use good old vim.

125 Name: #!/usr/bin/anonymous : 2009-08-09 15:02 ID:Heaven

I've used many editors and now I use emacs. I never looked back or doubted this choice.

126 Name: #!/usr/bin/anonymous : 2009-08-17 17:53 ID:R8skxv0F

gedit

127 Name: drwho!q3bWZZD9/U : 2009-08-21 20:42 ID:kUHMMU34

C/C++ on windows I use bloodshed dev-c++ but on linux I use the gnome text editor or pico

128 Name: #!/usr/bin/anonymous : 2009-08-24 08:40 ID:aQizSVZB

Source code in the title is dcraw.c.

129 Name: #!/usr/bin/anonymous : 2009-09-01 22:38 ID:56IlfinL

I like emacs on Linux/OS X, but I use Vim if I must

130 Name: #!/usr/bin/anonymous : 2009-09-01 23:58 ID:Heaven

>>129
What do you mean "if I must"? When do you have to use vim in place of emacs? (btw, are you aware of the vi-emulation mode of emacs? M-x vi-mode)

131 Name: #!/usr/bin/anonymous : 2009-09-04 12:55 ID:Heaven

>>130 + tramp mode

132 Name: #!/usr/bin/anonymous : 2009-09-06 18:39 ID:yok7+QsZ

I recently spent some time using ed, so much power in that small thing. You also learn much more about vi/vim by using it.

Other than that, vim. I'd use emacs if it weren't for the whole hand strain thing. Maybe at some point I'll make the switch to emacs+viper-mode, mostly because vimscript isn't as cool looking as elisp.

133 Name: #!/usr/bin/anonymous : 2009-09-06 21:01 ID:Heaven

>>132
try yi. oatmeal with toenail clippings in it isn't as cool looking as haskell.

134 Name: #!/usr/bin/anonymous : 2009-09-07 08:12 ID:Heaven

>>132
I get much more strain trying to capitalize with shift rather than using the ctrl key. Just find a way to press it without using your pinky (I prefer using my palm). The hand strain thing is not even an issue if you don't write much anyway.

135 Name: #!/usr/bin/anonymous : 2009-09-09 19:27 ID:4i4Ixjz3

I use PSPad

I really like its FTP mode. I haven't seen any other editor that works like that.

136 Name: #!/usr/bin/anonymous : 2009-09-14 00:11 ID:ARsUTpDU

TextMate and/or the editor built in Coda on Mac.

137 Name: #!/usr/bin/anonymous : 2009-09-20 21:06 ID:agZYq/xP

jgrasp or notepad++ on windows, vim or emacs on linux (I still haven't decided which one I like better)

138 Name: #!/usr/bin/anonymous : 2009-09-21 10:11 ID:TUKJrEYD

notepad++ on windows, (g)vim or gedit on linux

139 Name: #!/usr/bin/anonymous : 2009-10-13 09:48 ID:DYnoXryM

notepad++/nano on windows, gedit/nano on linux

140 Name: #!/usr/bin/anonymous : 2009-10-23 00:24 ID:Heaven

gedit, elvis, emacs on linux, depending on which computer.
gvim plus a crapton of scripts to make it much less vimmish on windows.

141 Name: #!/usr/bin/anonymous : 2009-11-06 09:04 ID:B5jAbUcm

Notepad2 on Windows. Kate, vim and gVim on Linux. MacVim on Mac.

142 Name: #!/usr/bin/anonymous : 2009-11-12 06:32 ID:TKZtG/mL

vi/vim
everything else is for fags.

143 Name: #!/usr/bin/anonymous : 2009-11-14 10:02 ID:2FmlKxNS

Notepad++ on Windows, Textmate or nano on Mac, Gedit or nano on Linux.

144 Name: #!/usr/bin/anonymous : 2009-11-15 20:41 ID:9GChxm6P

Emacs

145 Name: #!/usr/bin/anonymous : 2009-11-16 14:51 ID:Heaven

Do we really have 144 programmers visitting this board or are you guys replying multiple times to this thread?...

146 Name: #!/usr/bin/anonymous : 2009-11-17 00:45 ID:ZN30tPG6

Are there any free editors for windows that can properly indent LISP code besides emacs?

147 Name: dmpk2k!hinhT6kz2E : 2009-11-19 00:01 ID:Heaven

>>146
JazzScheme's editor seems able to handle CL as well. I don't know how well that works though.

148 Name: #!/usr/bin/anonymous : 2009-11-26 23:26 ID:Heaven

149 Name: KnowItAll : 2009-12-13 00:30 ID:ghH/XhqR

gtkemacs

150 Name: #!/usr/bin/anonymous : 2010-01-03 10:54 ID:JtVFPM6T

gVim for both Windows and Unix. If I really needed to compile something on my Windows box, I have Cygwin installed with g++.

151 Name: #!/usr/bin/anonymous : 2010-01-06 02:19 ID:zpm2QycW

Is anyone Harverd or MIT?

152 Name: #!/usr/bin/anonymous : 2010-01-11 14:29 ID:3CThj3iJ

Emacs

153 Name: : 2010-01-11 15:27 ID:VNAkD7gc

EditPadPro

154 Name: #!/usr/bin/anonymous : 2010-01-12 01:05 ID:n8/kPzUB

qwe

155 Name: #!/usr/bin/anonymous : 2010-03-19 23:45 ID:Heaven

>>134

Dunno if anyone's mentioned it, but you can change your keyboard bindings to switch the caps-lock key with the control key. It takes a little bit to get used to, but it makes much more sense, when you think about it. When's the last time you used caps lock (other than for cruise control) anyway?

156 Name: #!/usr/bin/anonymous : 2015-03-28 04:15 ID:3xfCd8FJ

nvi, for editing in general.

>>39

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

nvi has had UTF-8 support since 2000:

https://en.wikipedia.org/wiki/Nvi

>Sven Verdoolaege added support for Unicode in 2000.[3]
>BSD projects continue to use nvi version 1.79 due to licensing differences between Berkeley Database 1.85 and the later versions by Sleepycat Software.

Fucking tools.

157 Name: #!/usr/bin/anonymous : 2015-04-11 14:39 ID:ziQQB/Tk

EditPad Lite.

If I've got to work in a *nix text mode, JOE.

158 Name: #!/usr/bin/anonymous : 2015-04-28 17:55 ID:XgRSTUbY

VS a shit.

159 Name: #!/usr/bin/anonymous : 2015-04-29 04:46 ID:o4qYr/4s

160 Name: #!/usr/bin/anonymous : 2015-05-05 04:20 ID:QjMGRIOO

Nedit, nvi, GNU Emacs/XEmacs and Xedit.

Get on my level scrub.

161 Name: Wanda : 2015-05-31 01:53 ID:ZjyGJgk8

Sublime Text, vi on servers, Visual Studio is fine too.

Depends what I'm working on. If i'm working on some bloated e-commerce mess for a .net client, visual studio is opan obvious choice,

Everything else, ST or if unavailable vi

162 Name: #!/usr/bin/anonymous : 2015-06-09 18:58 ID:QjMGRIOO

BSD vi, ed, mg on Unix. Sam and acme on Plan 9. Pe on Haiku.

163 Name: #!/usr/bin/anonymous : 2015-06-14 16:44 ID:MuAco6xD

I like vim with solarized dark colorscheme and the linter syntastic. All is very comfortable that way.

164 Name: #!/usr/bin/anonymous : 2015-06-17 22:27 ID:9e5Wccph

Well, I started with "vi" on my very first shell account (a SunOS 4.x box, back in 1995). No idea what exact version of vi it was, but I didn't have any colors or visual mode, or anything like that. Soon after that, I installed Slackware and started using "vi" there as well. And since I completely stayed away from Windows all these years (except when required for a job), I just kept using vi or vim.

Somewhere along the way I got the crazy idea to swap the Escape and CapsLock keys, using either xmodmap or its console equivalent (e.g. wsconsctl in OpenBSD). That made things a lot more comfortable...

Speaking of OpenBSD, their /usr/bin/vi program is a slightly enhanced version of nvi, because it allows you to split the screen and have several text windows displayed at once. I didn't even realize this until one of the developers mentioned it on openbsd.misc:

our vi has multiple windows.
:E new_file
then ^W to move from file to file.
:viusage
will give you some help.

Granted, the <Control-W> thing is explicitely mentioned in the manpage, but it doesn't explain the differences between the :e and :E commands. All it says is this:

 [Ee][dit][!] [+cmd] [file]
[Ee]x[!] [+cmd] [file]
Edit a different file.

But anyway, it's a nice feature to have (although I guess you could get similar functionality with tmux windows also).

I also know the basics of "ed", just in case - because at least /bin/ed is statically linked and might be the only thing available to edit files with if /usr is fubar, or the dynamic linker is broken. Well it's not like it's that much different from vi anyway...

Back in my home computer days, I mainly used Notepad on my Amiga 500 (it's the default editor there, but not identical to Windows Notepad). There was also uemacs (microemacs) on one of the Workbench floppies, but I didn't bother with it. I think AmigaBasic (the version shipped with Workbench 1.3) had its own IDE though. I played around with that, but didn't do much except write some character generators and other tools for our tabletop AD&D games.

Before that I had an Amstrad CPC and there of course just used the ROM BASIC screen editor. It works quite well, especially when you switch to 80-column mode (just typing "mode 2" at the prompt did the trick). Their BASIC dialect (Locomotive BASIC) was also fairly powerful, giving you access to many graphics and sound functions without needing to go through the PEEK/POKE mumbo-jumbo. That machine also shipped with CP/M disks, which contained an "ed" program but I didn't really bother with that.

165 Name: #!/usr/bin/anonymous : 2015-06-18 08:30 ID:Heaven

>>164
there's no such thing as vi that doesn't have visual mode. perhaps you're thinking of ex?

166 Name: #!/usr/bin/anonymous : 2015-06-18 13:06 ID:9e5Wccph

>>165
Sorry I meant no visual block operations (select, copy, paste) like vim has. Yeah, the SunOS vi was running in regular full screen mode.

Now the "mail" or "mailx" programs, those dropped you into ed or maybe ex by default, for some reason. I mostly used Pine those days, and only occasionally mail in command line mode, e.g.:
mail -s "hi there" recipient@host < msg.txt

Later on when I started doing sysadmin work, I found myself just telnet'ing to SMTP and POP3 ports a lot (for testing purposes). Those interfaces are actually pretty simple; there's just no nice command-line editing/history or saving of messages to "sent-mail" folder or whatever (unless you're logging the session via typescript or whatever).

167 Name: #!/usr/bin/anonymous : 2015-06-26 20:32 ID:Qe6gX1aW

Emacs is love; Emacs is life.

168 Post deleted.

169 Post deleted.

170 Post deleted.

171 Name: #!/usr/bin/anonymous : 2015-12-31 15:35 ID:gpLahnqO

mg

172 Name: #!/usr/bin/anonymous : 2016-01-09 17:09 ID:nY1TTFUN

Been using textadept lately. Like it a lot.

173 Name: #!/usr/bin/anonymous : 2016-01-12 05:34 ID:VpC1hp1e

>>171
I just started mg a few weeks ago after getting fed up once too often with emacs. It's certainly the best lite emacs out there. I wish it had:

- better support for unicode
- better documentation for binding things. Sometimes you have to put a \, sometimes a ^, and the examples are completely unhelpful.

I'd probably switch full time if it had syntax highlighting (yes, I'm weak) and if I had a good stand-alone LaTeX reformatter.

174 Name: #!/usr/bin/anonymous : 2016-01-13 21:24 ID:jeG6gVFW

>>173

> syntax highlighting (yes, I'm weak)

Weak? Code isn't prose.

175 Name: #!/usr/bin/anonymous : 2016-02-20 22:10 ID:ZgjHCsmF

I tried Spacemacs after using Vim for years, and have now settled on neovim.

176 Name: poop : 2016-02-21 07:21 ID:y1GFMfyW

tbh, php is shit. java is pretty dank though

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