Open guy-borderless opened 3 months ago
Version: Deno 1.43.4 (but occurs with older versions too) If the project root is mapped for absolute imports with
{ "imports": { "/": "./", "./": "./" } }
The LSP incorrectly auto-imports from files in subdirectories. Here is an example repo
The LSP imports from a non-existent path import { ImportFn } from "./importme.ts"; Instead of import { ImportFn } from "/importme.ts";
import { ImportFn } from "./importme.ts";
import { ImportFn } from "/importme.ts";
Encountered this as well
Version: Deno 1.43.4 (but occurs with older versions too) If the project root is mapped for absolute imports with
The LSP incorrectly auto-imports from files in subdirectories. Here is an example repo
The LSP imports from a non-existent path
import { ImportFn } from "./importme.ts";
Instead ofimport { ImportFn } from "/importme.ts";