vuejs / language-tools

⚡ High-performance Vue language tooling based-on Volar.js
https://marketplace.visualstudio.com/items?itemName=Vue.volar
MIT License
5.87k stars 400 forks source link

Go to symbol in Workspace doesn't jump to correct line number #4595

Closed friuns2 closed 3 months ago

friuns2 commented 4 months ago

Info

Problem

Go to symbol in Workspace doesn't work properly for .vue files, it jumps to end of file, not at symbol location (also a lot of garbage like __ctx is shown that is not part of workspace)

https://github.com/user-attachments/assets/946cd9fc-702c-48f6-ac33-f3e109e85966

Reproducible Case

  1. Open volar-starter project
  2. press Ctrl+T (Go to symbol in Workspace) and search for count
  3. It fails to jump to correct line number
so1ve commented 4 months ago

Could you please list your installed extensions and show this panel: image

friuns2 commented 4 months ago

image

I installed vscode and Vue, nothing else image