Skip to content

Go to Symbol in Workspace... shows empty list with "No matching workspace symbols" #989

@hsandt

Description

@hsandt

Godot version

v4.6.stable.official [89cea1439]

VS Code version

1.109.5

Godot Tools VS Code extension version

2.6.1

System information

Windows 11

Issue description

Go to Symbol in Workspace... (Ctrl+T) (search with prefix #) doesn't have any match wherever I search from. Typing anything will show message "No matching workspace symbols":

Image

Note: Go to Symbol in Editor... (Ctrl+Shift+O) (search with prefix @) works, but it only shows a list of symbols in the current file. Looking at how it's called "Go to Symbol in File" in some doc (https://code.visualstudio.com/docs/languages/go), I suspect it's the intended behavior. No idea why they renamed it "in Editor" and "editor symbols" in the "No matching editor symbols" message, it's confusing.

Image

Remark: the issue has been already reported in a comment in #157 but since it was a different bug that was closed I opened a new one.

Steps to reproduce

  1. Open Godot project
  2. Open project folder in VS Code
  3. Ctrl+T to Go to Symbol in Workspace... => list is empty
  4. Type anything => "No matching workspace symbols"

Metadata

Metadata

Assignees

No one assigned

    Labels

    buglanguage serverIssue is not originating from this extension, but from the LSP instead

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions