Sublime Forum

Indents

#1

I referenced sublimetext.com/docs/2/settings.html and I changed my User settings to set tabs to 8 spaces:

{
“font_size”: 11,
“ignored_packages”:

	"Vintage"
],
// The number of spaces a tab is considered equal to
"tab_size": 8,

// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": true

}

When I open an existing .sh file, I notice the setting gets reverted to tabs = 4 spaces. I then copied the settings mentioned above into “Shell-Unix-Generic.sublime-settings” and I still get the same result. It seems that my settings only apply to new files and not existing files. Is this expected? Thanks

0 Likes