Case Status
Log In


Whole Tomato Software - Home
  • RSS Feed

Adjust Smart Suggestions for nullptr and NULL

Smart Suggestions are suggestions beyond the set of known symbols that you are likely to type in the current context of the text editor.

By default, the start of typing 'null' in certain contexts opens a list of smart suggestions that includes 'nullptr' and 'NULL', with precedence given to 'nullptr'.

Set NullptrSuggestionDefault1 to 00 to give precedence to 'NULL':

HKCU\Software\Whole Tomato\Visual Assist X\<IDE spec>\NullptrSuggestionDefault1 = 00

To omit 'NULL' from all lists of smart suggestions, set NullptrSuggestionDefault to 00:

HKCU\Software\Whole Tomato\Visual Assist X\<IDE spec>\NullptrSuggestionDefault = 00

Set registry settings to value 01 to restore default behavior.

Note: Typing 'null' entirely, irrespective of context, will likely open a regular suggestion list containing 'NULL' because 'NULL' is defined in a Windows header file.