GabiGrin / vscode-auto-run-command

Run a vscode command when it starts. Made to run wallaby.js automatically when a project is opened
https://marketplace.visualstudio.com/items?itemName=gabrielgrinberg.auto-run-command#review-details
MIT License
23 stars 15 forks source link

Delay value as an option #41

Closed xaduha closed 2 years ago

xaduha commented 3 years ago

Hi, I'm using this extension to open/focus a new terminal and it works pretty well, with 0 seconds delay that is. Hardcoded 5 second delay seems unreasonable to me, at least it should be an option in the settings, no?

{
"auto-run-command.rules": [
        {
            "command": "workbench.action.terminal.focus",
        },
    ],
}

(haven't found a better way to open terminal window automatically)

baincd commented 3 years ago

Configuring the delay would be nice. It could default to 5 to keep the current configuration by default.