SublimeText / TrailingSpaces

Highlight trailing spaces and delete them in a flash.
MIT License
896 stars 94 forks source link

trim on save/save on trim not working #119

Closed opichon closed 1 year ago

opichon commented 7 years ago

I've set these settings:

"trailing_spaces_save_after_trim": true,
"trailing_spaces_trim_on_save": true,

Neither works.

butsjoh commented 6 years ago

i have the same issue on sublime 3

andrewtcrooks commented 6 years ago

I'm also having this problem on sublime 3 (build 3143)

mbarwick83 commented 6 years ago

Any update?

claudiosegala commented 6 years ago

Same here

ARehmanMahi commented 5 years ago

Same

Fedora 29 Sublime text 3 (3.1.1 - 3176)

anjathiart commented 3 years ago

same here sublime 3. I don't really want to install the TrailingSpaces plugin if I can just add it to settings.

rchl commented 3 years ago

I don't really want to install the TrailingSpaces plugin if I can just add it to settings.

Do you have the TrailingSpaces package installed or not? Those settings only work when this package is installed.

anjathiart commented 3 years ago

I don't really want to install the TrailingSpaces plugin if I can just add it to settings.

Do you have the TrailingSpaces package installed or not? Those settings only work when this package is installed.

Ah, thank you. This is my mistake as I misunderstood the blog post where I came across this package. Thank you very much. I have it all working now.

rchl commented 1 year ago

Closing as this is either fixed or was a user error.

If this still doesn't work for someone then feel free to provide repro steps.

yegor256 commented 5 months ago

@rchl I have TrailingSpaces installed, but the feature doesn't work -- trailing spaces are not removed, neither automatically not manually through the menu command

rchl commented 5 months ago

Create a new issue and provide details about your settings, the file you are trying on etc.