-
Notifications
You must be signed in to change notification settings - Fork 314
Implement document symbol request #98
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
Implement document symbol request #98
Conversation
c03a07a
to
eb8ea96
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the PR! The code changes are looking pretty good to a first look, I just left a few inline comments. I haven't dug into the details of the specification for this request, so I'll probably do another round of detailed review when I have a chance to look at that.
One important thing that's missing is tests. The FoldingRangeTests
are a good model to look at for how to setup the test server, provide document contents, etc.
@swift-ci please test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, sorry for the slow response. Please add the constructor case, and then update the linux tests by running:
swift test --generate-linuxmain
Otherwise I think this is ready to go. Thanks!
@swift-ci please test |
I implemented document symbol request, which enables "document outline" in visual studio code.
I have no experience with contributing features to open source, I tried to match the style of the rest of the project. Are there any things I have to change/add?