Home Download Buy Blog Forum Support

Settings per filetype (syntax) ?

Settings per filetype (syntax) ?

Postby enniot on Mon Sep 12, 2011 8:43 am

Hello there.

I would like to set this : true
Code: Select all
// Set to true to insert spaces when tab is pressed
   "translate_tabs_to_spaces": false,

just for python/django files..

would like to set a different font too..
example: For python I prefer Dejavu Sans Mono, while for html / css I like Consolas more..

Is it possible to do ?
Thank you
enniot
 
Posts: 15
Joined: Fri Sep 09, 2011 7:53 am

Re: Settings per filetype (syntax) ?

Postby iamntz on Mon Sep 12, 2011 9:13 am

You need to open (or set syntax to) a file with syntax you want. This case py.
Then you go to preferences->File settings - more -> syntax specific - user.
You add there whatever you want to and you are set.
iamntz
 
Posts: 910
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Settings per filetype (syntax) ?

Postby enniot on Mon Sep 12, 2011 9:48 am

Done. THANK YOU.
<3 Sublime :)
enniot
 
Posts: 15
Joined: Fri Sep 09, 2011 7:53 am


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], willy1234x1 and 29 guests