seunlanlege / vscode-action-buttons

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

useVsCodeApi does not work: command still tries to execute in terminal #94

Closed ShawnHymel closed 1 month ago

ShawnHymel commented 1 month ago

I ran the example from the README, and I'm getting the following error:

D:\Projects\GitHub\vscode-env-rpi-pico>workbench.action.splitEditor
'workbench.action.splitEditor' is not recognized as an internal or external command,
operable program or batch file.

It looks like useVsCodeApi is not recognized, and the command/task is trying to execute in the terminal.

Screenshot 2024-10-08 101825

ShawnHymel commented 1 month ago

Problem solved: there are several "VsCode Action Buttons" in the Extension list. I installed the wrong one (fork? old version?).