SublimeText / TrailingSpaces

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

Feature request to exlude files by extension #63

Closed Nogbit closed 10 years ago

Nogbit commented 10 years ago

I would like to exclude my README.md files when saving because trailing spaces actually have meaning in markdown.

Nogbit commented 10 years ago

I integrated a pull request that does this based on syntax.

tkellen commented 10 years ago

:+1: was this merged? If yes, how do you use it?

ajmueller commented 8 years ago

@Nogbit I just ran across this and am interested in the method to get this working. Like @tkellen, I have files (specifically Jade templates) that need to have trailing spaces.

HaxtonFale commented 7 years ago

A bit of an old issue, but I'm running into the same problem, and cannot work with exclusion by syntax type.

I'm working with Salesforce files, and some of them are XMLs. I would want to disable trailing space highlight and removal in all files with the extension .object rather than all XML files (some contain embedded managed code and Salesforce complains if I try to push with trailing spaces removed).