A Conversation for The H2G2 Programmers' Corner
choice...
IvanovicS Started conversation Apr 10, 2004
Can someone help me 'cause i dunno wich text editor to use that
suport's syntax highlighting for source files.
I need it for programing seriosly.
See you later...
choice...
MaW Posted Apr 10, 2004
On which OS? For which language?
As general choices, vim and Emacs both run on almost everything, and highlight virtually everything, and what they don't come with someone's usually written a highlighter/indenter for it that you can add on.
Free, too. Vim's a bit of a pain to learn, and very unusual, but well worth the effort. Emacs is more normal to start with, but still a pain to learn all the keyboard shortcuts which always seem to me to be less consistent. Vim's are odd, but at least they're logical.
choice...
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Apr 10, 2004
Emacs lover!
I use vim.
but I recomend kate (KDE)
-- DoctorMO --
choice...
MaW Posted Apr 10, 2004
Did I say I was an Emacs lover in my post? No indeed I did not.
I personally much prefer vim. Kate's okay, but you have to be able to put up with the whole KDE look and feel which I really don't like much.
choice...
Old Hairy Posted Apr 10, 2004
The IDEs which come with Borland languages always seem to do it, although I have only really tries out C and C++. It really might help to know the language and system you are intending to use.
If it helps at all, IMHO syntax higlighting is not very helpful, and where possible ends up being switched off by me. However, automated indenting is a real boon, provided that it can be overcome when the need arises. This feature makes it much easier to enter, say MASM source code into the Quick C editor, than into Word in unformatted mode. (Sorry the example is old and quaint, but I am old and might be considered quaint.)
choice...
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Apr 10, 2004
well you were going on a bit about emacs, emacs is like a bleedin os in itself
try JEdit, java based a bit slow but bluddy good.
choice...
MaW Posted Apr 11, 2004
Old Hairy, I'd contend that syntax highlighting is incredibly useful. I find it most helpful indeed, helps me spot typos - especially unterminated string constants. Auto-indentation in C-like languages is also great for spotting missing semicolons or closing braces/brackets.
That said, my boss isn't that fond of syntax highlighting. It may just be what you're used to of course.
choice...
Crazy Man Posted Apr 11, 2004
I recommend TextPad. Great editor, though you have to find syntax files for stuff like MIPS or other asm etc (it has Java, C/C++ and HTML, maybe more automatically in there).
You can also let it compile and run applications for you if you like (like an IDE)
www.textpad.com but note, it's only for Windows
choice...
MaW Posted Apr 12, 2004
If you're on a Mac, SubEthaEdit's pretty good, and written by Hitchhikers' fans too!
choice...
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Apr 12, 2004
It's PFE (Programmer's File Editor) for me, on Win32 at least...
http://download.com.com/3000-2352-904159.html
choice...
MaW Posted Apr 13, 2004
That one was popular at University, although I preferred vim of course.
choice...
dElaphant (and Zeppo his dog (and Gummo, Zeppos dog)) - Left my apostrophes at the BBC Posted Apr 14, 2004
The best thing about SubEthaEdit is the collaboration/sharing of the active document in real time. But on the Mac, BBEdit is the standard. Pepper is also good, and it's Mac/Windows/Linux/BSD compatible.
choice...
Old Hairy Posted Apr 17, 2004
This question has been referred to Ask h2g2, see F19585?thread=409017. I suggest that any further replies are posted in the new thread (that is, in Ask h2g2).
choice...
Haylle (Nyssabird) ? mg to recovery Posted Apr 17, 2004
Well, since he hasn't come back to comment...but from what he posted, is it not likely that he wants to take source code from web pages and put it in an editor that will colorize the tags? Wouldn't textpad then be a good suggestion. If that's not what he needs, then I humbly defer to the resident geeks here.
choice...
Anonymouse Posted Apr 18, 2004
PFE rocks, afa Windows products go. And it can read linux text natively, as well, which comes in quite handy when you work in two systems.
Key: Complain about this post
choice...
- 1: IvanovicS (Apr 10, 2004)
- 2: MaW (Apr 10, 2004)
- 3: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Apr 10, 2004)
- 4: MaW (Apr 10, 2004)
- 5: Old Hairy (Apr 10, 2004)
- 6: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Apr 10, 2004)
- 7: MaW (Apr 11, 2004)
- 8: Crazy Man (Apr 11, 2004)
- 9: MaW (Apr 12, 2004)
- 10: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Apr 12, 2004)
- 11: MaW (Apr 13, 2004)
- 12: dElaphant (and Zeppo his dog (and Gummo, Zeppos dog)) - Left my apostrophes at the BBC (Apr 14, 2004)
- 13: Old Hairy (Apr 15, 2004)
- 14: Old Hairy (Apr 17, 2004)
- 15: Haylle (Nyssabird) ? mg to recovery (Apr 17, 2004)
- 16: Haylle (Nyssabird) ? mg to recovery (Apr 17, 2004)
- 17: Anonymouse (Apr 18, 2004)
More Conversations for The H2G2 Programmers' Corner
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."