Sublime Forum

[BUG] User .sublime-settings don't work (Build 2059)

#1

I’ve searched to see if that has already been reported. I apologize if this is a dupe.

In setting up my own preferences, I’ve modified my Base settings to expand tabs to spaces, but clearly in Makefiles, this has to be reversed. According to this page, sublimetext.com/docs/2/indentation.html, there are two User places for putting User settings. But at least in build 2059, they file-type specific version does not work.

From that page:

but when I place the following in Packages/User/Makefile.sublime-settings, the settings are never used:

[code]{
“word_wrap”: false,

// The number of spaces a tab is considered equal to
"tab_size": 4,

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

}
[/code]

Maybe I’m doing something fundamentally wrong.

0 Likes

#2

No, it’s not you.

I’m trying to slap HTML into submission by enforcing a 2-space tab with indentation detection set to off and it insists on 8 spaces. Got the HTML.sublime-settings in Packages\User, but it doesn’t seem it has picked it up.

{ "detect_indentation": false, "tab_size": 2, "translate_tabs_to_spaces": true }
It says on the console it’s reloading the file when I write it, but doesn’t seem to enforce anything.

0 Likes