Answer the question
In order to leave comments, you need to log in
How to change the size of tabs in the whole project?
Now there is a project where tab = 4 spaces. I want to continue to write it with a tab of 2 spaces. Tell me, please, is it possible to replace all project files in order to simply reduce the tab size from 4 to 2 spaces?
Answer the question
In order to leave comments, you need to log in
Can. Customize the codestyle you want to work in. You go to the refactor, select "refactor all files".
But I'd rather do file-by-file if there are few files.
Yes, you change it in the webstorm settings, and then click "reformat all files"
If you use eslint, you can change it in eslintconfig and write eslint --fix
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question