sublimetext2 - Different rulers by file type in Sublime Text 2 -


is there way tell sublime text 2 display column 78 ruler in python , javascript , no ruler in html, default?

yes! both python , javascript file, open (or set syntax empty file python or javascript), click preferences -> settings – more -> syntax specific – user. edit settings file regular user settings file. once you're finished, this:

{     "rulers": [         78     ] }  

do same html, make "rulers" array empty, i.e.:

{     "rulers": [ ] }  

subsequently, javascript , python files have ruler @ line 78, whereas html display no rulers. settings can define in user settings file can made specific syntax.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

java - Using an Integer ArrayList in Android -