Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
friuns2 opened this issue Jul 17, 2024 · 2 comments
Closed

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

friuns2 opened this issue Jul 17, 2024 · 2 comments
Labels
bug Something isn't working upstream

Comments

@friuns2
Copy link

friuns2 commented Jul 17, 2024

Info

  • Platform: windows
  • Volar version: 2.0.26
  • VS Code version: 1.91.1
  • TypeScript version: 5.5.2

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)

Code_kbVzhOVwPP.mp4

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
@friuns2 friuns2 changed the title Go to symbol in Workspace doesn't jump to current line number Go to symbol in Workspace doesn't jump to correct line number Jul 17, 2024
@LinusBorg LinusBorg transferred this issue from vuejs/vetur Jul 18, 2024
@so1ve
Copy link
Member

so1ve commented Jul 18, 2024

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

@friuns2
Copy link
Author

friuns2 commented Jul 18, 2024

image

I installed vscode and Vue, nothing else
image

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream
Projects
None yet
Development

No branches or pull requests

3 participants