-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to activate after update 1.21 update #5
Comments
To make your extension entirely compatible with a distribution of VSCode that uses ASAR, and to make your extension work with both VSCode stable and VSCode insiders, you will need to try to load from two paths... Something like the following: function getNodeModule(moduleName) {
try {
return require(`${vscode.env.appRoot}/node_modules.asar/${moduleName}`);
} catch(err) { }
try {
return require(`${vscode.env.appRoot}/node_modules/${moduleName}`);
} catch(err) {}
return null;
} |
Oh hey! I was just thinking I would have to abandon this extension and remove the scope feature from prettify-symbols-mode... THANKS! |
I was just about to post the same: microsoft/vscode#46281 (comment) |
I was in the middle of developing an extension that relied on scope-info when the update happened so I opened an issue here and on vscode. |
On startup I get this error in the debug console:
The text was updated successfully, but these errors were encountered: