Scite Indent |
|
Files:wiki_insecure/editors/SciTE/indent.lua
Attn: C Programmers
The above indent is nice, but I wanted some more choice over the style of indenting.
I installed GNU indent and added something like this to .SciTEUser.Properties
command.name.13.*=Indent Code command.13.*=indent --line-length 90 -brf -linux "$(FilePath)" ; \ echo "DONE! Press CTRL-R to reload document." command.shortcut.13.*=Alt+Ctrl+Shift+IDescription: "Indent is a GNU program for beautifying C code, so that it is easier to read. Indent can also convert from one C writing style to a different one. Indent understands correct C syntax and tries to handle incorrect C syntax."
Indent supports several styles of indentation besides -brf -linux (a personal favorite)