Last Updated: September 09, 2019
·
6.091K
· chewxy

Rulers in Sublime Text

As a PEP-8 Nazi, I try to stick to the 80-column rule as much as possible.
In Sublime Text, you can place rulers to keep you reminded of your code length. I have a hard limit of 150 (exceptions apply)

Preferences > Settings - User > add the below line in JSON:

{
"rulers" : [80, 150]
}

1 Response
Add your response

I have mine set at 79 and 72. The 72 is handy for docstrings in Python.

Now if I could just find a way to change the color of each one separately...

over 1 year ago ·