Hi
Codeblocks is already doing smart indent for C/C++:
After you hit Enter it will insert additional spaces/tab to the new line if the last char on
the previous line (where you pressed enter) was a '{'.
If you pushed the '}' key (on a empty line), cb searches for the corresponding '{' and
corrects the current indentation.
(Well currently cb does "smart" unindent independent of the selected lexer,
which is IMHO a bug, see attached patch)
This plugins are doing the "same" thing for vhdl, verilog and pascal.
Because with other languages blocks start with begin/end...
Was this a bit clearer?
regards daniel
[attachment deleted by admin]