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

fix: document symbol path location #629

Merged
merged 3 commits into from
Nov 11, 2022

Conversation

aspeddro
Copy link
Contributor

Change response format to documentSymbol. symbolInformation are deprecated.

Close #628

Copy link
Collaborator

@cristianoc cristianoc left a comment

Choose a reason for hiding this comment

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

Thanks for the fix.
So it looks like what was not a document symbol format.

@cristianoc cristianoc merged commit f72c853 into rescript-lang:master Nov 11, 2022
cristianoc added a commit that referenced this pull request Dec 16, 2022
The change in #629 moved to a non-deprecated representation of document symbol.
The new representation is the "Ikea" version of the old one, where children symbol are not computed for you, but need to be provided.
This PR computes and emits the tree of symbols using the `children` field.
cristianoc added a commit that referenced this pull request Dec 16, 2022
Fixes #654.

The change in #629 moved to a non-deprecated representation of document symbol.
The new representation is the "Ikea" version of the old one, where children symbol are not computed for you, but need to be provided.
This PR computes and emits the tree of symbols using the `children` field.
cristianoc added a commit that referenced this pull request Dec 17, 2022
* Emit nested document symbols.

Fixes #654.

The change in #629 moved to a non-deprecated representation of document symbol.
The new representation is the "Ikea" version of the old one, where children symbol are not computed for you, but need to be provided.
This PR computes and emits the tree of symbols using the `children` field.

* indent

* Refactor code for indentation.

* Update CHANGELOG.md

* cleanup
@aspeddro aspeddro deleted the fix-document-symbol branch December 19, 2022 17:27
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.

Document Symbols return location to tmp path
2 participants