feature(lsp): adds document symbol provider #297
Merged
baszalmstra merged 3 commits intoJan 20, 2021
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #297 +/- ##
==========================================
+ Coverage 80.77% 81.42% +0.64%
==========================================
Files 237 239 +2
Lines 13864 14026 +162
==========================================
+ Hits 11199 11420 +221
+ Misses 2665 2606 -59
Continue to review full report at Codecov.
|
e8de30e to
95dd758
Compare
Wodann
requested changes
Jan 19, 2021
Wodann
approved these changes
Jan 20, 2021
Collaborator
Wodann
left a comment
There was a problem hiding this comment.
Up to you to decide whether you think it's necessary to rename on to on_request
ae18e65 to
0bbdbd4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an LSP document symbol provider. The result is based on the AST of a SourceFile. The implementation is adapted from the rust-analyzer code.
This is a take 2 it depends on #295 . Its a much cleaner approach using the previous PRs. It supersedes #293 .