Skip to content

lsp: should work with local node_modules directory #16373

@dsherret

Description

@dsherret

From #16332

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions