Apply Styles for Language Elements
Source Insight will apply styles to display tokens based on their lexical and contextual meaning. Each option in this group enables successively more elaborate formatting.
Declarations of symbols are formatted with the appropriate “Declare ” styles. For example, a function name will appear in the “Declare Function” style where it is declared.
Function-local symbol declarations
Declarations of local function scope variables and other symbols will be formatted with the appropriate “Declare ” styles. This includes local variables, and function parameters.
References to function-local symbols
References to local function scope variables and symbols are formatted with the appropriate “Ref to ” reference styles. For example, references to (i.e. usages of) a local variable will have the “Ref to Local” style.
References to non-function-local symbols
References to symbols declared outside of function scopes, such as class scopes and the global scope, are formatted with the appropriate “Ref to ” reference styles. This option requires more work, and it will slow down the display somewhat. The reference information is cached, so once a piece of code is rendered, it usually will display quickly afterwards.
References to members
References to structure and class members are formatted with the “Ref to Member” style. The veracity of the member reference can be controlled with the Qualify references to members option.
Special comment styles
Source Insight supports special comment styles that are controlled by special //1-4 comment heading tokens, and the placement of comments. If this option is enabled, then Source Insight will apply the appropriate comment style to those special comments