Skip to content

lsp: support for path aliases & auto-import? #10947

Answered by kitsonk
MagicDuck asked this question in Q&A
Discussion options

You must be logged in to vote

The config file option paths doesn't make sense in a Deno context, because Deno doesn't just "transpile" code, it runs code, and "paths" is intended to indicate where code will be at runtime.

Import maps which Deno supports solve the problem of relocating code at runtime and would be the equivalent feature for Deno and the Deno language server. While the language server supports import maps in the configuration, we don't have 100% of the features (like auto-completion) fully working with import maps yet.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@MagicDuck
Comment options

@kitsonk
Comment options

@MagicDuck
Comment options

@kitsonk
Comment options

@MagicDuck
Comment options

Answer selected by MagicDuck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #10946 on June 13, 2021 22:11.