Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight trailing space #1805

Open
spyder-bot opened this issue Feb 17, 2015 · 6 comments
Open

Highlight trailing space #1805

spyder-bot opened this issue Feb 17, 2015 · 6 comments

Comments

@spyder-bot
Copy link
Collaborator

From vex...@gmail.com on 2014-05-01T05:12:24Z

It would be neat if spyder could highlight trailing space.

I know that there is an option to remove all trailing space upon save, but that is not always desirable, especially in cases where formatting changes and actual changes should be separate commits. I would rather remove trailing whitespace manually, but I can't see it at the moment.

Cheers

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1805

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2015-01-01T15:08:34Z

Status: HelpNeeded
Labels: Cat-Editor

@goanpeca
Copy link
Member

goanpeca commented Apr 8, 2015

Well why not activate pep8 then?

@ccordoba12
Copy link
Member

This already solved. You can view blank spaces now by going to the menu

Source > Show blank spaces

@Nodd
Copy link
Contributor

Nodd commented Apr 8, 2015

Showing blank space is not the same as showing trailing blank spaces only. The first one displays little dots everywhere while the second one should display only the one to be removed (and it's harder to do).
Maybe it's easier to highlight them (a simple regexp in the syntax highlighter should do it) with a red background rather than showing a dot ?

@ccordoba12
Copy link
Member

Ok, you're right. Reopening then ;-)

@ccordoba12 ccordoba12 reopened this Apr 8, 2015
@goanpeca goanpeca self-assigned this Dec 6, 2015
@goanpeca goanpeca added this to the v4.0 milestone Dec 6, 2015
@goanpeca goanpeca removed their assignment Jan 14, 2017
@ccordoba12 ccordoba12 modified the milestones: wishlist, v4.0beta1 Aug 13, 2017
@brhubbar
Copy link

I believe this is accomplished by Completion and Linting > Linting > Underline errors and warnings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants