Share via


HTML Designer Shortcut Keys, Visual C# Scheme

The following shortcut key combinations can be used only when you modify files in the HTML Designer. Certain key combinations are available only in a specific view of that designer. Other key combinations that you can use in the HTML Designer include Text Navigation Shortcut Keys, General Development Settings, Text Selection Shortcut Keys, General Development Settings, and Text Manipulation Shortcut Keys, General Development Settings.

Note

When you select Visual C# Development Settings in the Import and Export Settings Wizard, the Visual C# 2005 keyboard mapping scheme is applied. Visual C# 2005 is the current keyboard mapping scheme. This is the keyboard mapping scheme that is applied to the integrated development environment (IDE) at initial startup. For more information, see How to: Change Select Settings.

To switch to the Visual C# keyboard mapping scheme

  1. On the Tools menu, click Options.

  2. Expand Environment, and then click Keyboard.

  3. Select Visual C# 2005 from the Apply the following application keyboard mapping scheme drop-down list.

Command Name

Shortcut Keys

Description

Format.Bold

CTRL + B

Toggles the selected text between bold and plain. Available only in Design view.

Format.ConvertToHyperlink

CTRL + L

When text is selected, displays the Hyperlink dialog box. Available only in Design view.

Format.InsertBookmark

CTRL + SHIFT + L

Displays the Bookmark dialog box. Available only in Design view.

Format.Italic

CTRL + I

Toggles the selected text between italic and plain. Available only in Design view.

Format.Underline

CTRL + U

Toggles the selected text between underlined and plain. Available only in Design view.

Layout.InsertColumntotheLeft

CTRL + ALT + LEFT ARROW

Adds one column to the left of the current column in the table. Available only in Design view.

Layout.InsertColumntotheRight

CTRL + ALT + RIGHT ARROW

Adds one column to the right of the current column in the table. Available only in Design view.

Layout.InsertRowAbove

CTRL + ALT + UP ARROW

Adds one row above the current row in the table. Available only in Design view.

Layout.InsertRowBelow

CTRL + ALT + DOWN ARROW

Adds one row below the current row in the table. Available only in Design view.

Project.AddContentPage

CTRL + M, CTRL + C

Adds a new *.aspx file to the Web site and opens the file in the HTML Designer. Available only in Design view.

View.AutoCloseTagOverride

CTRL + SHIFT + PERIOD

Temporarily overrides the default close tag behavior for the current tag. For more information, see Tag Specific Options. Available only in Source view.

View.Details

CTRL + SHIFT + Q

Displays icons for HTML elements that do not have a visual representation, such as comments, scripts, and anchors for absolutely positioned elements. Available only in Design view.

View.EditMaster

CTRL + M, CTRL + M

Opens the *.master file in Source view. Available only in Design view.

View.NextView

CTRL + PAGE DOWN

Switches among Design view, Source view, and Server Code view for the current document. Available in all views.

View.NonVisualControls

CTRL + ALT + Q

Displays symbols for non-graphical elements such as div, span, form, and script elements. Available only in Design view.

View.ShowSmartTag

SHIFT + ALT + F10

Displays the available options on the smart tag menu.

View.ViewDesigner

SHIFT + F7

Switches to Design view for the current document. Available only in Source view.

View.ViewMarkup

SHIFT + F7

Switches to Source view for the current document. Available only in Design view.

View.VisibleBorders

CTRL + Q

Displays a 1-pixel border around HTML elements that support a BORDER attribute that is set to zero. Examples of such HTML elements are tables, table cells, and divisions. Available only in Design view.

Window.PreviousTab

CTRL + PAGE UP

Switches among Design view, Source view, and Server Code view for the current document. Available in all views.

See Also

Concepts

Visual C# Default Shortcut Keys

Reference

HTML Designer