T
T
Tolik2014-09-08 18:16:46
Sublime Text
Tolik, 2014-09-08 18:16:46

How to indent two spaces by default in Sublime Text 3?

It often happens that I create a new file, and a tab of size 4 is automatically placed there. But I don’t want that! What to do? True, it would be nice to make an exception for the python, because. still need 4

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Velichko, 2014-09-08
@Diel

Preferences → Settings User

{
// The number of spaces a tab is considered equal to
"tab_size": 2,

// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": true
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question