Created
July 11, 2012 12:35
-
-
Save simonw/3090102 to your computer and use it in GitHub Desktop.
Setting up Sublime Text 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First, install it from http://www.sublimetext.com/2 | |
Next, install the package control extension from here: | |
http://wbond.net/sublime_packages/package_control | |
Installation instructions here: http://wbond.net/sublime_packages/package_control/installation | |
Restart Sublime, then hit Shift+Apple+P and search for "Package Control: Install Package" | |
Install Sublime Linter. | |
Open the Linter settings: | |
http://simonwillison.net/static/skitch/Fullscreen-20120711-133338.jpg | |
Paste in the following: | |
{ | |
"sublimelinter_delay": 0.5, | |
"pep8_ignore": | |
[ | |
"W293", | |
"E501", | |
"E203", | |
"E303", | |
"E225", | |
"E261", | |
"E251", | |
"E401", | |
"E301", | |
"E302", | |
"W291", | |
"W391" | |
] | |
} |
Unfortunately I don't - I've had to drop that particular preference for
compatibility with co-workers
I find the trailing spaces plugin very helpful for Python coding: https://github.com/SublimeText/TrailingSpaces
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@simonw I seem to recall you like your intra-block blank lines indented like I do. Do you know a way to get Sublime to flag true "trailing" whitespace but not flag indented intra-block blank lines?