C
C
cajo2017-04-07 13:49:56
Visual Studio Code
cajo, 2017-04-07 13:49:56

How to make different indentation for different languages ​​in vscode?

Please tell me how to set different parameters for different languages, namely the size of the indent, I use tabs, for css I'm used to using a tab of size 2 indent for html 4, but I can't find where to set it up

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew K., 2017-04-09
@cajo

The feature with indents for different languages, as I understand it, appeared quite recently.

{
    "editor.snippetSuggestions": "top",
    "[css]": {
        "editor.tabSize": 2
    }
}

Details about settings

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question