Wiki

Options

Case Status
Log In

Wiki

Options

 
Whole Tomato Software - Home
  • RSS Feed

Comment code with more than two slashes

Visual Assist build 1901 and newer

If you use the Surround Selection feature to comment code, Visual Assist prefixes each commented line with two slashes. You can tell Visual Assist to insert a different number of slashes by editing the following DWORD value in the registry:

HKCU\Software\Whole Tomato\Visual Assist X\<IDE spec>\LineCommentSlashCount

Set the value to 4 to comply with StyleCop comment guidelines.

The default value is 2.

 

Tags: