seunlanlege / vscode-action-buttons

VsCode extension for custom status bar buttons
90 stars 25 forks source link

new commands #44

Open sorset opened 4 years ago

sorset commented 4 years ago

I can not add a new commands like short key execution. For example I need to add this command

`"actionButtons": { "defaultColor": "#ff0034", // Can also use string color names. "loadNpmCommands":false, // Disables automatic generation of actions for npm commands. "reloadButton":"♻️", // Custom reload button text or icon (default ↻). null value enables automatic reload on configuration change "commands": [ { "cwd": "/home/custom_folder", // Terminal initial folder ${workspaceFolder} and os user home as defaults "name": "Show menu", "color": "green", "singleInstance": true, "command": "ctrl+shift+P", // This is executed in the terminal. }

 ]
}`

How to do that?