vscode-tinygo
vscode-tinygo copied to clipboard
If `settings.json` already exists picking tinygo target fails
If settings.json
already exists using the command pallet to pick tinygo target fails with the message in the screenshot below.
An example workflow that causes this
-
.vscode
is checked into a remote git repo. - Repo is cloned on a 2nd computer
- There is no tinygo target selected when vscode is opened
- Picking a target results in
Command 'TinyGo target' resulted in an error (command 'vscode-tinygo.selectTarget not found)
Commenting out the settings created by this extension results in the same error.
Deleting settings.json
allows the extension to pick a target and create a new settings.json
Does this also cause an error message on startup? Because I've seen something like that after updating Go or TinyGo and running tingyo clean
.
@aykevl No error on startup, only when selecting a tinygo target.