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]
}
Written by Chewxy
Related protips
1 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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#