06.08 Comment and Uncomment in Web Pages

DEFAULT

Ctrl+K, Ctrl+C (comment);

Ctrl+K, Ctrl+U (uncomment)

VISUAL BASIC 6

Ctrl+K, Ctrl+C (comment);

Ctrl+K, Ctrl+U (uncomment)

VISUAL C# 2005

Ctrl+K, Ctrl+C (comment);

Ctrl+E, Ctrl+C (comment);

Ctrl +E, C (comment);

Ctrl+K, Ctrl+U (uncomment)

VISUAL C++ 2

[no shortcut]

VISUAL C++ 6

Ctrl+K, Ctrl+C (comment);

Ctrl+K, Ctrl+U (uncomment)

VISUAL STUDIO 6

Ctrl+K, Ctrl+C (comment);

Ctrl+K, Ctrl+U (uncomment)

WINDOWS

Alt,E, V, M (comment)

Alt,E, V, E (uncomment)

MENU

Edit | Advanced | Comment Selection;

Edit | Advanced | Uncomment Selection

COMMAND

Edit.CommentSelection;

Edit.UncommentSelection

VERSIONS

2005, 2008, 2010

CODE

vstipEdit0083

By now, you probably know that you can comment and uncomment your code, but did you ...

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.