Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

First Arduino command after opening VS Code always fails #1690

Open
dazjjackson opened this issue Nov 9, 2023 · 1 comment
Open

First Arduino command after opening VS Code always fails #1690

dazjjackson opened this issue Nov 9, 2023 · 1 comment

Comments

@dazjjackson
Copy link

As per the title, the first Arduino command run after VS Code is started always appears to fail.

e.g.

Command 'Arduino: Board Manager' resulted in an error
command 'arduino.showBoardManager' not found

OR

Command 'Arduino: Change Board Type' resulted in an error
command 'arduino.changeBoardType' not found

Re-running the command a second time results in the functionality working on subsequent tries until VS Code is restarted and then the same happens again.

I have Arduino IDE (v2) installled but do have the Arduino extension set up to use the embedded Cli.

OS: Windows 11
VS Code Version: 1.84.2
Arduino Extension Version: 0.6.0

@github-actions github-actions bot added the triage New issues that have not been reviewed. label Nov 9, 2023
@dazjjackson
Copy link
Author

Ok, think I've worked out why.

Looks like this only happens if you try to run any Arduino command without having a sketch open which I guess could be expected.

@gcampbell-msft gcampbell-msft removed the triage New issues that have not been reviewed. label Dec 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants