Skip to content

IDE: remove trailing spaces #2202

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

Closed
MrScarabus opened this issue Jul 21, 2014 · 4 comments
Closed

IDE: remove trailing spaces #2202

MrScarabus opened this issue Jul 21, 2014 · 4 comments
Labels
Type: Works For Me We are unable to reproduce the reported bug
Milestone

Comments

@MrScarabus
Copy link

Can you make an option to remove trailing spaces in editor, sometimes it's very annoying.

@d0ughb0y
Copy link

I second this.
github gui shows all the trailing spaces in RED, so yes it is annoying.

@Lauszus
Copy link
Contributor

Lauszus commented Aug 23, 2014

You can actually do it (sort of) by using the new "Auto Format" that was improved in 1.5.5 using Artistic Style: http://astyle.sourceforge.net/. It removes all trailing spaces as well.

Maybe it would be possible to use that to only remove trailing spaces?

@ffissore
Copy link
Contributor

AStyle is the way to go. You can have your own formatter.conf file: put it in the same folder as preferences.txt and restart the ide

@ffissore ffissore added the Type: Works For Me We are unable to reproduce the reported bug label May 26, 2015
@ffissore ffissore added this to the Release 1.6.5 milestone May 26, 2015
@ffissore ffissore self-assigned this May 26, 2015
@pedzed
Copy link

pedzed commented Apr 15, 2017

I'm not sure why this is closed. Why do some settings need a third-party program while others don't? This is an important setting to have built-in...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Works For Me We are unable to reproduce the reported bug
Projects
None yet
Development

No branches or pull requests

5 participants