Indentation Settings
The Indentation Settings window allows you to customize the formatting of your code in terms of tab and indentation styles.
Here are the options available:
- Tab Size:
- Specifies the number of spaces equivalent to a tab character.
- The default value is 8.
- Indent Size:
- Specifies the number of spaces used for a single level of code indentation.
- The default value is 0 (no additional spaces are added for indentation).
- Use Tabs:
- Determines whether tab characters (\t) or spaces are used for indentation.
- The default setting is Yes (tab characters are used).
- OK:
- Saves your changes and closes the window.
- Cancel:
- Discards any changes and closes the window.
- Convert:
- Converts existing code indentation to match the selected settings.
- For example, if you change from using tabs to spaces, this button will reformat your code accordingly.
Notes:
- There are no restrictions on tab sizes; however, values less than 1 or excessively large values may lead to undesirable behavior or formatting issues.
- If you set an indent size of 0, the indentation width will default to the tab size. While there are no strict limits on indent sizes, using negative values or excessively large values can result in unexpected formatting.