Any way to change tab sizes on a current file?


#1

I have a javascript file 2 spaces for indents and I want to change them all to 4 spaces, is there a plugin for that?


#2

It’s in the main settings page near the bottom.


#3

You can change the setting as @mark_hahn described if you haven’t already and then you should be able to use the auto indent command from the Command Palette to update the file.


#4

@leedohm, you’ll never make it in marketing. You didn’t hype your tab-related package. Here. I’ll do it for you …

@DarrylD,if you happen to need to swap the tab indentation with spaces, you owe it to yourself to check out the award-winning tabs-to-spaces package!