Home Download Buy Blog Forum Support

Config files for different architectures

Config files for different architectures

Postby dsarch on Thu May 05, 2011 3:29 pm

Hi,

Is it possible to have config files for differente architectures ?

It would work like the keybinds - as im using Sublime2 in linux and mac i have to change the fonts and fontsizes everytime i change the architectures and it is kinda annoying.

SublimeText is one of the greatest tools i have been using, thanks a lot for the time spent in it development =)
dsarch
 
Posts: 62
Joined: Tue May 03, 2011 2:31 am

Re: Config files for different architectures

Postby guillermooo on Thu May 05, 2011 3:45 pm

The topic's a draft, but this is definitely possible:

http://sublimetext.info/docs/customizat ... tings.html
guillermooo
 
Posts: 728
Joined: Thu Jul 23, 2009 9:06 am

Re: Config files for different architectures

Postby dsarch on Thu May 05, 2011 6:38 pm

Hi guillermooo,

Do you know if it works ? I created these files in Packages/User:

Base File.sublime-settings
Base File (Linux).sublime-settings
Base File (OSX).sublime-settings

And i keep gettings the contents of:

Base File.sublime-settings

Also, if i remove the above file, i lose all preferences (ie, it does not find Base File (Linux).sublime-settings).

Am i making something wrong ?

Thanks a lot for your time and help =)
dsarch
 
Posts: 62
Joined: Tue May 03, 2011 2:31 am

Re: Config files for different architectures

Postby guillermooo on Thu May 05, 2011 6:55 pm

Hey dsarch,

I've just tried and, on Windows, the platform-specific file's indeed only picked up under Packages/Default, not under Packages/User. Looking at the official docs at http://www.sublimetext.com/docs/2/indentation.html, this seems to be deliberate, but I think it'd be useful if they worked under other folders too.
guillermooo
 
Posts: 728
Joined: Thu Jul 23, 2009 9:06 am


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 25 guests