Share via


Tabs Options (Text Editor — Options Dialog Box)

   

Allows you to set the tabs options for your editor.

Choosing the Tabs option sets the tabs in the editors for all of the applications in the development environment. To set the tab options for a specific editor, choose the editor in the list below the Tabs entry in the left-hand pane. The change to the specific editor is effective only until you change the options again from the Tabs entry. For example, if you want to have Block indenting for all of your editors in the development environment, choose Tabs in the Text Editor options of the Options dialog box and then select Block. If you want to remove the indenting for only your HTML editor, choose HTML under Tabs in the Text Editor options of the Options dialog box, then select None. Now your HTML editor will have no indenting but if you change to a Plain text editor, it will use Block indenting.

Note   Application-specific options do not appear in the Options dialog box until the application is loaded into memory. Therefore, you may not see the same options you saw during your last session. Once you create a project or use a command that uses a particular application, the options appear in the Options dialog box and remain available as long as the application remains in memory. Common options are available all of the time.

CAUTION   Clicking Cancel cancels all of the changes made in the dialog box. If you made changes to more than one category, none of the changes will be saved.

Options

Indenting

None

No indenting.

Block

When you press ENTER, all of the  text is automatically indented based on the indentation of the previous line of text. Thus the text appears to form a block.

Smart

When you press ENTER or re-indent code in the editor, the right-indentation of each line of text is automatically determined. Not available for the HTML or Plain text editors.

Tabs

Tab Size

Sets the tab width, which can range from 1 to 32 spaces; the default is 4 spaces.

Indent Size

Sets the size of the indentation in your code, which can range from 1 to 60. The default is 4.

Insert Spaces

When the editor automatically indents, the indentation is based on spaces instead of the tab settings.

Keep Tabs

Retains all the tabs you set.