Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Commands not found when running inside VScode under WSL #57

Open
darkvertex opened this issue Apr 16, 2021 · 3 comments
Open

Commands not found when running inside VScode under WSL #57

darkvertex opened this issue Apr 16, 2021 · 3 comments

Comments

@darkvertex
Copy link

darkvertex commented Apr 16, 2021

I'm using VSCode's WSL extension that runs VSCode's core under Windows Subsystem for Linux, giving me an Ubuntu environment. It generally works pretty well.

Most extensions work seamlessly but for some reason yours apparently fails to register its commands while I'm in WSL mode.

The menu items appear for me, but clicking any of them will tell me their command was "not found":
image

@darkvertex
Copy link
Author

Hmmm... just tried outside WSL and it's broken there too.

Could it just be broken on Windows altogether? 🤔

@darkvertex
Copy link
Author

I see you have a big try-except block before the commands get registered:
https://github.com/snyk/vulncost/blob/master/src/extension.js#L26

Where would I see the output/error if there is one?

@bmvermeer
Copy link
Collaborator

Not sure, but maybe you can find something in
Help -> Toggle Developer Tools

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