denoland / vscode_deno

Visual Studio Code plugin for Deno
https://marketplace.visualstudio.com/items?itemName=denoland.vscode-deno
MIT License
1.5k stars 146 forks source link

Symbols are listed twice when Deno is enabled #1202

Open klaussner opened 3 weeks ago

klaussner commented 3 weeks ago

Describe the bug

When Deno is enabled, symbols in source files are shown twice in the list of symbols.

To reproduce

  1. Open an empty directory in VS Code.
  2. Run the "Deno: Initialize Workspace Configuration" command.
  3. Create a JavaScript file with the content below.
  4. Open the command palette and type "@" to list the symbols.
export function foo() {
  return 42;
}

Expected behavior

The symbol foo is shown once in the list.

Video

If applicable, add screenshots to help explain your problem.

Versions

vscode: 1.95.0 deno: 2.0.3 extension: 3.42.0

mr-moon commented 2 weeks ago

My intellisense is even more bloated:

image

I'm on Deno 2.0.5 rest are same as yours.