I haven't used an IDE in years. I'm working in C (maybe there are good reasons to use an IDE with C++? I don't know) and my programs run in text terminals (they don't use X or gui). To me the IDE adds a layer of complication with little benefit. I like to use one text terminal with my modified nano editor (called xnano
), another terminal to do compiling and miscellaneous stuff and maybe another for testing.
My editor is nano-1.2.5 with extensions that make it especially helpful for me. My modified sources are available at http://sourceforge.net/projects/experix ... o-wbm.tgz2
and you need the original from http://www.nano-editor.org
(or I'll send you that if it has disappeared or something). These are the features I have added that help me a lot in maintaining big projects:
xnano interprets some useful TTY escape sequences, such as <esc>[7;32m
to make the text following that appear in green reverse-video, and has a convenient keyboard shortcut for typing these sequences. Such sequences are interpreted by the terminal (and x-term as well), so they show up when viewed with the cat
utilities. The xnano display can switch between TTY-escape display and syntax-colorization display by using the <alt>Y toggle.
xnano remembers those long strings that you type for filepaths and shelled commands so you can get them back with the up-arrow key. The edit buffer that it opens for a shelled command has the full command in its filepath display space (original nano only shows "New buffer" there).
In xnano these choices are per buffer, not global: <alt>Y (display colorization type), <alt>I (auto-indent), <alt>W (auto line-wrap), <alt>D and <alt>O (DOS- and MAC- style line format).
The <ctrl>R<alt>F sequence (to load a file into the current edit buffer rather than a new one) is one-shot, that is it does not apply to the next file load. (I always forgot to toggle that back and messed up many edit buffers by accidentally loading a file into the middle).
(I forgot this when I posted originally) <alt>Q toggles a buffer between "normal" and "view" mode (you can't make changes in it). This is extremely helpful when I want to compare two versions while making changes.