Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
The Tabs tab has the following components:
Tab size Lets you set the tab size (in number of spaces).
Indent size Lets you set the size of indents (in number of spaces).
Insert spaces Inserts n spaces when you press Tab instead of inserting one tab character. The value for n will be between one and the number of indent size spaces, depending on how many spaces are required to move the cursor forward to the next tab stop.
Keep tabs Inserts a tab character into the document and moves the cursor forward to the next tab stop when you press Tab.
Auto indent Lets you set the auto indent feature. You have the following options:
None disables the feature.
Default uses the tab and indent sizes that are set.
Smart uses previous lines of code as a guideline for indenting open and closing braces.
Indent opening brace Select this option if you want opening braces to be indented. This option is enabled when the Smart option is selected.
Indent closing brace Select this option if you want closing braces to be indented. This option is enabled when the Smart option is selected.
Sample The Sample field shows an example of how code is formatted based on the options you choose for indenting opening and closing braces.