If you want to change tabs to spaces in a lot of files, but don't want to open them individually, I have found that it works equally as well to just use the Find and Replace option from the left-most tools bar.
In the first box (Find
), copy and paste a tab from the source code.
In the second box (Replace
), enter the number of spaces that you wish to use (i.e. 2 or 4).
If you press the ...
button, you can specify directories to include or ignore (i.e. src/Data/Json
).
Finally, inspect the result preview and press Replace All. All files in the workspace may be affected.