./OfficialSamples folder contains macros from source insight officials: https://www.sourceinsight.com/download/macro-files/
./utilities.em includes:
-
CodeComments()
comment or uncomment code block -
GenerateFunctionHeader()
generate function's header (Doxygen style, need to select function prototype first) -
GenerateFileHeader()
generate file's header (Doxgen style) -
GenerateTemplate_C_File()
generate .c file template -
GenerateTemplate_H_File()
generate .h file template
Usage:
- open source insight project
- add .em file by "Add and Remove Project Files"
- click "Options -> Key Assignments"
- select a Macro e.g. utilities.em and click "Assign New Key"
- press the key for shortcut and click "OK"