Compartir a través de


Miscellaneous, HTML, Text Editor, Options Dialog Box

These settings enable you to set preferences for how the HTML editor works when you paste elements into the page and when you first open a file.

To access this dialog box

  1. In Visual Web Developer, click Tools, and then click Options.

    The Options dialog box opens.

  2. In the left panel, double-click (or expand) the Text Editor node, expand the HTML node, and then click Miscellaneous.

    Note

    If you have configured your environment settings for Web development, this node is not available unless you select the Show all settings check box. For more information about environment settings, see How to: Change Select Settings.

Additional HTML options can be found under the HTML Designer node, which is visible when the Show all settings check box is selected.

For more information about formatting HTML, see Formatting Elements in the HTML Editor in Visual Web Developer.

Tasks

How to: Collapse and Expand HTML Elements in Visual Web Developer

How to: Enable the Properties Window in Visual Web Developer

Walkthrough: Advanced HTML Editing in Visual Web Developer

UI Elements

Miscellaneous HTML options

  • Auto ID elements on paste in Source view
    When this check box is selected, the editor assigns a unique ID to each element as you paste it into the page by adding a sequential number to the existing ID.

    If you disable this option, elements are pasted in with their existing IDs (if any). If required, you must manually change the element IDs to avoid multiple identical IDs on the page.

  • Format HTML on paste
    When this check box is selected, the editor reformats elements when you paste them into the page, using the currently defined formatting rules. If this check box is not selected, the editor pastes the elements in using the exact formatting of the original element.

  • Enable property grid in Source view
    When this check box is selected, the Properties window displays style properties while you are using the HTML editor in Source view. If this check box is not selected, the Properties window will not be enabled while you are working in Source view.

    Selecting this option improves display performance when switching between Source view and Design view in the HTML editor.

See Also

Tasks

How to: Enable the Properties Window in Visual Web Developer

Reference

General, HTML, Text Editor, Options Dialog Box

Tabs, HTML, Text Editor, Options Dialog Box

Format, HTML, Text Editor, Options Dialog Box

Validation, HTML, Text Editor, Options Dialog Box

Display, HTML Designer, Options Dialog Box

General, HTML Designer, Options Dialog Box