deno icon indicating copy to clipboard operation
deno copied to clipboard

lsp: publish diagnostics for import maps

Open kitsonk opened this issue 3 years ago • 1 comments

We should publish diagnostics for import maps (there are diagnostics available when parsing the import map, but also we should include things like the missing cache and the code actions to cache specifiers).

kitsonk avatar Jul 07 '22 06:07 kitsonk

Ref: denoland/import_map#42 which is required for this.

kitsonk avatar Jul 27 '22 00:07 kitsonk

@kitsonk Just noticed that using import map would make the Typescript hints(not sure the official name in LSP world) disappear, is there a seperate ticket that will tackle that issue?

winston0410 avatar Aug 27 '22 07:08 winston0410

Sorry ignore my noise there, I figured out that there is a setting for import_map.json and it will works: https://deno.land/[email protected]/vscode_deno

winston0410 avatar Aug 27 '22 07:08 winston0410