Hello, I want that instead of the 4 spaces that sublime text 3 makes me in the indentation when doing tab, they are only two spaces. How can I do this?
Hello, I want that instead of the 4 spaces that sublime text 3 makes me in the indentation when doing tab, they are only two spaces. How can I do this?
In the menu you go to View > Indentation > Tab width: 2 .
Another way to do it is by using EditorConfig to be independent of the editor.
To be able to use it, you only need to create one
.editorconfig
within your project, add the options you want and finally install the plugin to recognize the configurations. Example of a.editorconfig
: