jbangdev / jbang-vscode

JBang extension for Visual Studio Code
MIT License
12 stars 2 forks source link

better error handling for missing jbang ? #140

Open maxandersen opened 1 month ago

maxandersen commented 1 month ago

in this screenshot i ran jbang create script:

Image

a) what does command 'jbang.script.generate' not found mean?

b) i thought it was because it could not find jbang - so i set jbang.home but that didn't work as can be seen as its set AND jbang is in user.home.

maxandersen commented 1 month ago

note: this is probably related to java extension not being able to find java installed yet but could it be handled more gracefully?

fbricon commented 1 month ago

It means the command was not registered because jbang-vscode failed to start, most likely because vscode-java failed to start. There's literally nothing we can do if that happens