Dev tools (24)

1 Name: dmpk2k!hinhT6kz2E 2004-11-22 00:21 ID:ZY2u03Bw [Del]

Here's what I use for C, the language I usually code in:

GCC (duh): http://gcc.gnu.org/
Not the fastest, but it's the de facto standard. I like it because of the rather verbose amount of error-reporting it has.

SciTE (or vim): http://www.scintilla.org/SciTE.html
I used to use vim, but I became tired with the dual mode. SciTE has a lot of functionality other major IDEs have, but fewer dependencies.

DDD: http://www.gnu.org/software/ddd/
Better than plain gdb due to the data display, IMHO. Somewhat flaky though. :'(

Valgrind: http://valgrind.kde.org/
Helps catch many memory leaks and other oddities that get through. It can also be used for profiling.

Splint: http://www.splint.org/
Nazi meet Lint. Catches common coding mistakes and potential errors that may cause vulnerabilities. It makes gcc -Wall look amazingly terse.

Cscope: http://cscope.sourceforge.net/
Really useful for code exploration. Allows nice things like searching for function callers, cross-referencing, etc.

doxygen: http://www.stack.nl/~dimitri/doxygen/
Meant to be used for documentation of a program, but I mostly abuse it for the dependency graphs and other toys. Really handy for code exploration.

indent: http://www.gnu.org/software/indent/indent.html
Because we all like uniform code.

What do you use (for whatever language)?

2 Name: !WAHa.06x36 2004-11-22 01:09 ID:xiQi/XFA [Del]

> Not the fastest, but it's the de facto standard. I like it because of the rather verbose amount of error-reporting it has.

Verbose... Especially when you get a parse error, and it spits out several screenfuls of error messages that have nothing to do with anything. To be fair, gcc is definitely not alone in this. I dream that one day somebody will make a robust parser for C, but this seems unlikely.

Also, for writing C code, I use gcc, a text editor, and a shell. For writing Perl, I use perl, a text editor, and a shell. For writing Java, I use javac, a text editor, and a shell.

No, I kid, I kid.

I don't write Java.

3 Name: Sling!myL1/SLing 2004-11-22 01:35 ID:EWyTRvGQ [Del]

DOS, TurboC.
Windows, VisualC.

4 Name: Albright!LC/IWhc3yc 2004-11-22 04:13 ID:5PiT5MeA [Del]

SubEthaEdit: http://www.codingmonkeys.de/subethaedit/
Freebie (for non-commercial use) text editors don't get any better. I have no use for its much-touted collaboration features, but its syntax highlighting and auto-indenting put BBEdit Lite to shame, as far as us freeloading cheapskates are concerned.

When editing over ssh, I prefer vi or its derivatives.

5 Name: Anonymous 2004-11-22 12:00 ID:SAtyYo3g [Del]

In windows:
http://www.crimsoneditor.com/

I found it mostly because its 1) free, and 2) code colouring can be setup for any filetype, as it have it setup to do colouring of SSA/ASS files as well as all the other common programming languages.

If I'm SSHed in, its pico. I'm too dumb to learn vi, or vim.

6 Name: Anonymous 2004-11-22 13:20 ID:M1awC+sQ [Del]

notepad foewa!

7 Name: !WAHa.06x36 2004-11-22 13:22 ID:EyIUfq7g [Del]

On Windows I use TextPad, which is excellent but not quite free.

On Unix in textmode, pico, because while it does suck horribly, everything else sucks SO MUCH WORSE. Emacs and vi are both stuck in the seventies as far as user interfaces go, and most other editors seem to be content to be nothing but Emacs or vi clones.

8 Name: Ichigo Pie!UXPNoPan6M 2004-11-22 19:18 ID:UsiysrQw [Del]

C/C++ - Dev-C++
C# - SharpDevelop
Java - Borland JBuilder X (mainly because I'm forced to by school, though)

9 Name: MAD-Leser!r4YvKJpWUc 2004-11-22 20:02 ID:Rua7wZ6g [Del]

i use vim for everything related to editing of text files, so i kind of grew quite attached to it :o
the only choice i got for my compiling needs is gcc.. well, i don't really mind anyway, but i'm often mystifyed by those error messages the compiler spits out from time to time X(.

>>7
tried http://cdsmith.twu.net/professional/opensource/lpe.html yet? i used that one a few times before switching to vim, seemed a-ok to me.

10 Name: dmpk2k!hinhT6kz2E 2004-11-22 20:13 ID:ZHiJgOeA [Del]

Autoindent? Ahh, one feature I detest. I don't want a text editor to guess what I'll do next (someone tell that to the Microsoft Word group).

Can it be turned off?

11 Name: CRat 2004-11-22 20:21 ID:pu58AxDQ [Del]

RealMan's Compiler Collection: http://somewhere.fscked.org/rmcc/ ;D

12 Name: hk0!0khonVgaHI 2004-11-22 23:08 ID:zG3MyeWw [Del]

>>4
>>5
>>7

Using pico? Like color highlighting? Want a more robust editor with those missing features (like multiple files, inserts, search and replace, dos/unix/mac/unicode text compatibility ?)

I suggest my personal favorite: nano (http://www.nano-editor.org/download.html)

Also gcc is king.
As is DDD. THE COLORS CHILDREN, FLAVEN!

13 Name: !WAHa.06x36 2004-11-23 00:50 ID:66VfokOQ [Del]

The only thing I'm really missing in pico is a lack of text wrapping, and line numbers. Maybe a very basic auto-indent (just keep the same indentation when pressing return).

14 Name: Albright!LC/IWhc3yc 2004-11-23 02:22 ID:1+2g/1wg [Del]

>Autoindent? Ahh, one feature I detest.

You've clearly never coded Python.

>Can it be turned off?

Which program were you referring to? If SubEthaEdit: Preferences, Edit, uncheck "Indent new lines."

15 Name: Anonymous 2004-11-23 05:23 ID:Heaven [Del]

>>12

Syntax hi-lighting is nice and all, but I use pico when I'm SSHed into this server through PUTTY, so any colour hi-lighting is lost.

Unless of course, you know a way of turning it on.

16 Name: hk0!0khonVgaHI 2004-11-23 05:32 ID:AbGkOnLQ [Del]

>>13
nano fixes all of those problems.

I always call nano with the switches "-wiR".
You can permanently set them in your ".nanorc" file.

-w meaning don't wrap lines
-i meaning auto-indent
-R meaning regular-expression search/replace

17 Name: hk0!0khonVgaHI 2004-11-23 05:34 ID:AbGkOnLQ [Del]

>>15

Err... use nano?
Nano supports color highlighting, not pico.

And PuTTY has ANSI, linux, and xterm emulation modes, so use one of those to get the color to show up on your end.

18 Name: !WAHa.06x36 2004-11-23 12:47 ID:VFbxhOLw [Del]

>>14

That is one of the reason I am dead against ever using Python, as a matter of fact.

>>16

Hmm, -wicT4m seems pretty close to what I want, actually. But I don't think there is a .nanorc file. I guess I'll have to create an alias, but that's a pain in the ass...

19 Post deleted by user.

20 Post deleted by user.

21 Name: hk0!0khonVgaHI 2004-11-23 16:47 ID:mGncsM1g [Del]

>>18
What version of nano is it?

Anything > 1.2.0 supports it. Just create the file in your home directory.

Add the following lines to the file to get the effect of -wicT4m

set nowrap
set autoindent
set const
set tabsize 4
set multibuffer

22 Name: dmpk2k!hinhT6kz2E 2004-11-23 22:57 ID:qeUw77qw [Del]

Have they come up with a standard place for storing configuration files yet? I'm probably not the only one who finds doing a ls -a results in 90% of listings being hidden files.

I've noticed a few rare programs beginning to stuff their files into .config/ Is this an abberation, or has someone (ie: freedesktop) been attempting to finally fix that mess with some sort of standard?

23 Name: hk0!0khonVgaHI 2004-11-23 23:34 ID:iex8MeaA [Del]

Well...
I think the thing is it shouldn't matter, because the files are supposed to be hidden. However, I applaud application suites (ooffice, gnome, kde, matlab, moz/ffox) who bundle multiple files into one dot-subdirectory.

It wouldn't be freedesktop, I don't think. It's the FHS guys who should say something.

24 Name: dmpk2k!hinhT6kz2E 2004-11-24 01:38 ID:/q3bZFJQ [Del]

It shouldn't matter, except when it comes to people who compulsively always type "ls -la". I actually have to concentrate if I want to type just "ls" since it's all motor reflex. >.>;

This thread has been closed. You cannot post in this thread any longer.