Export (0) Print
Expand All

Comment and uncomment

Expression Studio 4.0

You can easily comment and uncomment sections of code in Code view. Microsoft Expression Web detects what language you're working with and automatically adds appropriate comment characters for that language.

tip noteTip

The supported languages for this feature are HTML, CSS, JavaScript, and PHP.

To comment out a block of code

  1. In Code view, select the block of code you want to comment out.

  2. Do one of the following:

    • In the Code View menu, click w4_icon_comment.

    • Press CTRL + J.

To uncomment a block of code

  1. In Code view, select the commented block of code you want to uncomment.

  2. Do one of the following:

    • In the Code View menu, click w4_icon_uncomment.

    • Press CTRL + SHIFT + J.

See also

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.

Community Additions

ADD
Show:
© 2014 Microsoft