How to: Set Editor Tab and Indent Options
Follow the steps in this topic to set the TAB key options in the Text editor.
Note
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.
Specifying Tab and Indent Settings in the Editor
To specify tab and indent settings
Open the Text Editor options. (Tools / Options / Text Editor)
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.
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.
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.
Click OK.