Wiki

Case Status
Log In

Wiki

 
Whole Tomato Software - Home
  • RSS Feed

Prevent Default when Adding Missing Case Statements

Normally, Add Missing Case Statements includes a default in a switch statement, assuming a default does not exist. You can prevent default cases by setting the following registry key:

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

Restore the default behavior by setting the value to 01.

Tags: