Reply To: autoindent

Product Compare Forums Multi-Edit Suggestions autoindent Reply To: autoindent

#5534
Ernie Zapata
Participant

I use a program called ‘indent.exe’ to reformat my C/C++ source code.

I just set it up as a compiler entry using Tools -> Customize -> Extensions, selected “C CPP H HPP”, Edit -> Compiler/Program setup. From there, I created a new program entry and set the “Command” string to call indent.exe, using my preferred arguments and the filename macros to pass the currently editted file.

I am not aware of any formatters for TCL code, but a search-engine may provide some suggestions.