Home Download Buy Blog Forum Support

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

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

Postby rwtolbert on Sat May 14, 2011 3:48 pm

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, http://www.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:
Settings files are consulted in this order:

Packages/Default/Base File.sublime-settings
Packages/Default/Base File (<platform>).sublime-settings
Packages/User/Base File.sublime-settings
Packages/<syntax>/<syntax>.sublime-settings
Packages/User/<syntax>.sublime-settings


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

Code: Select all
{
   "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
}


Maybe I'm doing something fundamentally wrong.
rwtolbert
 
Posts: 1
Joined: Wed May 11, 2011 4:58 am

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

Postby asmodai on Tue May 24, 2011 1:12 pm

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.

Code: Select all
{
    "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.
asmodai
 
Posts: 73
Joined: Mon Mar 01, 2010 10:42 am


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 32 guests