We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
code-server
Set value of 'vscode.env.appRoot' to resolve with <vscode path>/resources/app.
<vscode path>/resources/app
Some extensions use a tip to load the native node_modules of VSCode, like require(appRoot + "/node_modules.asar/<module_name>").
require(appRoot + "/node_modules.asar/<module_name>")
This can solve the problem with "Bracket Pair Colorizer 2" (#544)
Current value of vscode.env.appRoot is empty, and "Bracket Pair Colorizer 2" try load the /./node_modules.asar/vscode-textmate
vscode.env.appRoot
/./node_modules.asar/vscode-textmate
The text was updated successfully, but these errors were encountered:
how can we set this value?
Sorry, something went wrong.
@edgardmessias Try out v2, I think on latest tree this'll be fixed.
Definitely should be fixed in v2. We map node_modules.asar to node_modules to make it all work properly.
node_modules.asar
node_modules
No branches or pull requests
code-server
version: 1.1119-vsc1.33.1Description
Set value of 'vscode.env.appRoot' to resolve with
<vscode path>/resources/app
.Some extensions use a tip to load the native node_modules of VSCode, like
require(appRoot + "/node_modules.asar/<module_name>")
.This can solve the problem with "Bracket Pair Colorizer 2" (#544)
Current value of
vscode.env.appRoot
is empty, and "Bracket Pair Colorizer 2" try load the/./node_modules.asar/vscode-textmate
The text was updated successfully, but these errors were encountered: