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

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -