This documentation is archived and is not being maintained.

How to: Set Editor Tab and Indent Options

Follow the steps in this topic to set the TAB key options in the Text editor.


The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, click Import and Export Settings on the Tools menu. For more information, see Working with Settings.

To specify tab and indent settings

  1. Open the Text Editor options. (Tools / Options / Text Editor)

  2. For indenting, you can specify None (no indenting), Block (don't indent after an opening brace), or Smart (indent after an opening brace; the default) indenting options.

  3. To specify tab settings for all editors, expand All Languages and then click Tabs.

    To specify tab settings for a specific editor only, expand the appropriate language and then click Tabs for that language.

  4. For Tab and Indent size, type the number of spaces you want for automatic indents and between tab stops. For more information, see Tabs, All Languages, Text Editor, Options Dialog Box.

  5. Click OK.