3 ms·
Seconded: if you haven't tried EMACS yet, you need to. You can also catch things by hitting TAB, which tells the syntax aware language mode to properly indent
by hga 17y ago
Seconded: if you haven't tried EMACS yet, you need to.
You can also catch things by hitting TAB, which tells the syntax aware language mode to properly indent what follows the cursor. If that isn't correct, you should be able to tell where the missed punctuation is.
The auto newline feature is also great, it automatically indents after you hit newline (Enter); if that location is off you've missed something. Colors also help you see if you've missed closing a string, comment, etc.
You can also compile inside a subshell and then have EMACS run you through each compilation error and the associated source code with next-error.