vulncost icon indicating copy to clipboard operation
vulncost copied to clipboard

Commands not found when running inside VScode under WSL

Open darkvertex opened this issue 3 years ago • 3 comments

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 avatar Apr 16 '21 19:04 darkvertex

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

Could it just be broken on Windows altogether? 🤔

darkvertex avatar Apr 16 '21 19:04 darkvertex

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?

darkvertex avatar Apr 16 '21 19:04 darkvertex

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

bmvermeer avatar May 10 '21 09:05 bmvermeer