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

Unify and improve code paths for Workspace Symbol and Document Symbol #582

Open
DavisVaughan opened this issue Oct 11, 2024 · 0 comments
Open
Labels

Comments

@DavisVaughan
Copy link
Contributor

DavisVaughan commented Oct 11, 2024

Connected to posit-dev/positron#3822

See #571 and in particular #571 (comment)

  • We use the indexer for workspace symbols, but not for document symbols. We should try and share more infrastructure here. Note that the indexer currently produces a flat list of symbols, but for outlines it is quite useful to have a nested list of symbols instead.
  • We should produce nested "sections", particularly in the Document Symbol response, where it shows up in the Outline view. This would allow ## second ---- to be a child of # first ----, and would also nest any functions / variables inside these section headers too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant