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

Add support for workspace symbols (project-wide symbol search) #30

Open
1 of 2 tasks
ygingras opened this issue Aug 28, 2024 · 2 comments
Open
1 of 2 tasks

Add support for workspace symbols (project-wide symbol search) #30

ygingras opened this issue Aug 28, 2024 · 2 comments
Labels
enhancement New feature or request upstream Depends on a change in the Godot engine, Zed, or another dependency

Comments

@ygingras
Copy link

I'm submitting a...

  • Bug report.
  • Feature request.

Feature request

`

Describe the problem you're trying to solve.

The new outline tree greatly speeds up navigation inside a file. Navigation could be improved even further by adding the tokens that populate the outline tree as project symbols. This way, we could jump to them inside and across files with the "project symbols: toggle" command (CTRL+ALT+F on my system). This would behave roughly like the "Go To Function..." command in the built-in Godot editor.

@NathanLovato NathanLovato added upstream Depends on a change in the Godot engine, Zed, or another dependency enhancement New feature or request labels Aug 28, 2024
@NathanLovato
Copy link
Contributor

NathanLovato commented Aug 28, 2024

As far as I know, workspace symbols are a feature of language servers, so they depend on the language server in the Godot engine. And it's not supported by Godot currently.

Do you know if Zed has a built-in way to walk the project and parse it with tree sitter to populate workspace symbols? Or you have like to code your own language server to provide that (in that case, it would be better to just add it to Godot's core)?

Related: #28

@NathanLovato NathanLovato changed the title Symbols that go in the outline tree should also be project symbols Add support for workspace symbols (project-wide symbol search) Aug 28, 2024
@ygingras
Copy link
Author

I am very new to Zed and I'm not sure what features it offers for a project-wide symbols discovery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request upstream Depends on a change in the Godot engine, Zed, or another dependency
Projects
None yet
Development

No branches or pull requests

2 participants