seunlanlege / vscode-action-buttons

VsCode extension for custom status bar buttons
88 stars 24 forks source link

Add args option for command to specify VS Code command arguments #67

Closed addisonElliott closed 2 years ago

addisonElliott commented 2 years ago

Add args option to command item. This is an optional string array. This field is only used if useVsCodeApi is true.

The arguments are passed to VS Code command. One major use-case for this is to run specific build tasks via action buttons.

VSCode Command Args 3

Note: This depends on #64. Do not merge until that is merged.

Fixes #55

addisonElliott commented 2 years ago

@seunlanlege This is ready for review when you have time. Thanks!

seunlanlege commented 2 years ago

has conflicts

addisonElliott commented 2 years ago

Conflicts resolved

Diogo-Rossi commented 9 months ago

Hello @addisonElliott

I tried to use this feature but couldn't get it working.

Do you have any idea to what is happening?

(It keep showing the "input box" for tasks)

Diogo-Rossi commented 9 months ago

Now I think I know why it is not working: this commit was made in Dec/2021.

And the last version released of the extension in the market place is from Nov/2021.

Is that right?

image