I'm using VS Code to edit projects in multiple languages (mostly Ruby, PHP and Javascript) and for each language we have different indentation models (spaces/tabs and width). Looks like VS Code supports this as it allows both editor.insertSpaces
and editor.tabSize
to be set to "auto"
which is a per-language definition.
But while editor.tabSize
looks to do about what I want, editor.insertSpaces
always insert spaces when in "auto"
mode.
I've tried to find where one can edit the per-language configuration but have found no such setting. I've also looked in the language directories under resources/app/client/vs/languages
but have failed to find something that specifies these features.
Any idea how to customize the per-language settings?
vscode
start supporting plugins and speciallyeditorconfig
for this use case. – Homeland