interactive icon indicating copy to clipboard operation
interactive copied to clipboard

Don't let extension activation fail, but instead set a flag that's checked before every command invocation

Open brettfo opened this issue 3 years ago • 0 comments

Currently if there is an issue with the user's dotnet SDK, extension activation fails and no commands get registered, so if the user then tries to create a new notebook, etc., they're given the very unhelpful message that the command isn't defined. If instead we effectively wrap the entire activation in try/catch, we can then set an extension-wide global indicating the status of activation and check this on all command invocations.

brettfo avatar Aug 17 '22 20:08 brettfo