emeraldwalk / vscode-runonsave

Visual Studio Code extension to run commands whenever a file is saved.
Apache License 2.0
182 stars 57 forks source link

Feature Request: Match using Glob #56

Open WORMSS opened 3 years ago

WORMSS commented 3 years ago

Is it possible to get a glob matching rather than only regex?

{
  "cmd": "blarblar",
  "matchGlob": "myglob/**/*.ts"
}

or maybe

{
  "cmd": "blarblar",
  "match": "myglob/**/*.ts",
  "globMatch": true,
}

??