Archive

Posts Tagged ‘Comments’

Visualization – Comment Highlighter

March 10th, 2011 Comments off

Occasionally you may need to note a place in a source file that needs to be revisited later for correction or improvements. There are three standard codes used to designate such places: TODO, HACK and UNDONE. Visual Studio has the built-in Task List tool window, which shows the list of such comments. To open the list, go to View menu -> Task List:

Visual Studio Task List

Read more…

Selection – Quick Comment/Uncomment

November 10th, 2010 3 comments

The Selection Comment feature adds the capability to quickly comment or uncomment a multi-line block of code (or any text in the code editor) via a single shortcut. Only one shortcut is used to comment and uncomment of the current selection. The shortcut is easy to remember. For example, in Visual Basic it is (‘)(Apostrophe) and in CSharp (or C++) it is (/) (Slash).

Read more…