Skip to content

Conversation

daedroza
Copy link
Contributor

@daedroza daedroza commented Sep 1, 2025

This pull request slightly refactors the syntax symbol picker based on tree-sitter.

TODO:

  • Add symbol picker based on reference.*
  • WIP: Link symbol picker to goto_{*} for definition and reference. However, I'm not able to use picker with it's with_line function.
  • Add initial reference.* calls for a single programming language for testing - java

I'm looking for help with adding tree-sitter queries for other programming language(s).
I'm looking for help to review and help improve this PR as Rust is not something I'm used to.

|ls, pos, doc_id| ls.goto_declaration(doc_id, pos, None),
);
} else {
search_selection_impl(cx, false);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with_line from picker doesn't work i.e UI doesn't get updated automatically so using this as workaround, same for other calls below

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant