In addition to the standard commands that are built into Source Insight, you can define custom commands. Custom commands are similar to DOS batch files. They execute external DOS commands and Windows programs. Source Insight allows custom commands to execute in the background. The output of DOS custom commands can be captured into a file for editing, or can be pasted into the current selection.
The Custom Command command allows you to define and run custom commands. Once defined, a custom command is like any other command. It can be assigned to a menu or a keystroke can be assigned to it. Custom commands are part of the current configuration.
Custom commands are useful for launching a compilation. By having a custom command that runs the compiler or make program, you can capture the compiler error messages and have the errors parsed and have source links pointing the the erroneous source code automatically.
You can also implement a variety of text filters using custom commands. For example, you could define a Sort custom command that runs a sort filter and pastes the output back over the current selection.
See Also: Custom Commands command, Configuration, Keyboard Assignments, Menu Assignments, Save Configuration