You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LSP doesn't work with local node_modules directory since there's no configuration for this at the moment. I think we should consider making this an option in the deno.json file or perhaps it should detect if there's a node_modules folder and prefer to use that?
When we add suport for this we'll need to ensure it initializes the npm snapshot from the lockfile to ensure it resolves the same as on the command line (otherwise there will be a lot of churn in the node_modules folder).
The text was updated successfully, but these errors were encountered:
This adds support for the lockfile and node_modules directory to the
lsp.
In the case of the node_modules directory, it is only enabled when
explicitly opted into via `"nodeModulesDir": true` in the configuration
file. This is to reduce the language server automatically modifying the
node_modules directory when the user doesn't want it to.
Closes#16510Closes#16373
From #16332
When we add suport for this we'll need to ensure it initializes the npm snapshot from the lockfile to ensure it resolves the same as on the command line (otherwise there will be a lot of churn in the node_modules folder).
The text was updated successfully, but these errors were encountered: