Symbols exported from a Deno workspace are not considered in LSP workspace #27817
Open
Description
(Basic technical understanding about 'Deno workspace' and a 'Language Server Protocol workspace' are required to understand subtle terms used here.)
Consider following project deno.json
:
{
"workspace": [
"./h3/"
]
}
and its friend ./h3/deno.json
:
{
"name": "@nounder/h3",
"exports": "./mod.ts"
}
When I search for isStatusOk
function that is exported in @nounder/h3
, LSP doesn't index it:
However, when I start typing function name in context of a import statement, LSP provides correct autocomplete:
It think it is reasonable to make LSP index symbols defined in workspaces.
Version: Deno 2.1.7
Editors: nvim, vscode, cursor
Metadata
Assignees
Labels
No labels