Home Download Buy Blog Forum Support

Unwanted rectangles on every line in .py files on windows

Unwanted rectangles on every line in .py files on windows

Postby dropout on Sun Aug 19, 2012 8:56 am

I have a strange unwanted effect when editing python files:
Image
These rectangles and underscore like artifacts are distracting me a lot and couldn't what is this setting.
I don't know how would one call this as it seems it has nothing to do with indentation.
I've been digging through the settings files, tried changing relevant setting values, but no success yet.
I also tried searching, but I couldn't name this "effect" so no luck yet.
Thanks in advance for any tips.
Adam
dropout
 
Posts: 4
Joined: Sun Aug 19, 2012 8:49 am

Re: Unwanted rectangles on every line in .py files on windows

Postby quarnster on Sun Aug 19, 2012 9:00 am

You have SublimeLinter installed.
quarnster
 
Posts: 389
Joined: Tue Nov 29, 2011 11:34 am

Re: Unwanted rectangles on every line in .py files on windows

Postby dropout on Sun Aug 19, 2012 9:11 am

Awwww maaan, thanks, it feels much better now.
But why did check my python files? and if it checked my python files why was it showing errors, as my code was syntax OK.... strange, but now it's gone.
dropout
 
Posts: 4
Joined: Sun Aug 19, 2012 8:49 am

Re: Unwanted rectangles on every line in .py files on windows

Postby fizzicist on Mon Aug 20, 2012 4:00 pm

dropout wrote:Awwww maaan, thanks, it feels much better now.
But why did check my python files? and if it checked my python files why was it showing errors, as my code was syntax OK.... strange, but now it's gone.


It looks like to took care of this by disabling the linter, but if you want to dig into it more, you get information on the status bar when the cursor is on a line with problems. Also, it puts an underscore in the areas of the problems. For example, line 18 has an underscore right before "infile", and the status bar (for my copy of this as a test) indicates, "PEP 8 (E201): whitespace after '('".

While that isn't a true syntax error (as you said, it executes correctly), it is a violation of PEP 8's style guidelines.

Some of the others might involve a mix of tabs and spaces. Looking at the status bar will indicate what it is catching.

Of course, if PEP 8 isn't that important for your needs, leaving the linter disabled may be a better option for you!
fizzicist
 
Posts: 4
Joined: Thu Aug 11, 2011 3:53 am


Return to Technical Support

Who is online

Users browsing this forum: dechandler10, Google [Bot], Yahoo [Bot] and 34 guests