How to change the tab key to indent to four spaces by Sublime text3
This article is about how Sublime text3 modifies the tab key to indent to four spaces. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
1. Click Preferences- > Setting in the menu bar, as shown in figure 2. In the pop-up Preferences.sublime-settings-User, add the following three lines: / / The number of spaces a tab is considered equal to "tab_size": 4, / / Set to true to insert spaces when tab is pressed "translate_tabs_to_spaces": true, / / set to automatically convert "expand_tabs_on_save" when saving: true as shown below, save and exit.
Thank you for reading! About Sublime text3 how to modify the tab key to indent to four spaces to share here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.