step 1
modify the values in these three places to:2
step 2
Remove the default checks in both places and don’t indent the Tab of their current filedetection
note!
with the above two steps, we just changed the indentation in the file to a spaceJS
Tab
2
however, the file indentation issue is not solved!*.vue
we found that the options did not have this one, so we went to adjust the relevant configurationCode Style
Vue
Other File Types
after the adjustment is saved, restart it again!!!WebStorm
OK
In the future, we need to change the code indentation of which type of file we only need to go to the Code Style option and find the corresponding file type to make corresponding adjustments