wk-j / vscode-save-and-run

Visual Studio Code extension to run commands whenever a file is saved https://marketplace.visualstudio.com/items?itemName=wk-j.save-and-run
Apache License 2.0
32 stars 7 forks source link

Folder setting is not available #26

Open Fay98de opened 5 years ago

Fay98de commented 5 years ago

I made some settings in the repository folder,but it does not work.

marciojg commented 2 years ago

Same here. I need run a specific command to specific path, but not work.

  "saveAndRun": {
    "commands": [
      {
        "match": "FirstPath/**/*.java$",
        "cmd": "echo 'FirstPath'",
        "useShortcut": false,
        "silent": false
      },
      {
        "match": "SecondPath/**/*.java$",
        "cmd": "echo 'SecondPath'",
        "useShortcut": false,
        "silent": false
      },
    ]
  }