vscode-trailingspaces
vscode-trailingspaces copied to clipboard
Feature: Ignore by path
Thanks for a great extension! This was one of the final things I was missing when moving from Atom to VSCode.
One feature I'd still like to see is to be able to ignore files based on their path. So, something similar to trailing-spaces.syntaxIgnore
, but for file paths (a regex would be fantastic).
I'd like to highlight and "trim on save" for all of my own code, but if I'm modifying thirdparty code, I want to keep changes to a minimum.
So, if the file path has a match with the regex (thirdparty|dependencies)
, trimming would be turned off. Ideally. I'd like to keep highlighting on, but a simple "disable everything" toggle would work too.
maybe a regex matcher for whole file path, so everyone can slove their own problems.
The only missing bit for everything working without issues.