Skip to content

Do not bail-out if incorrect ranges are requested via DocumentSymbol #117

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

Merged
merged 1 commit into from
Jul 11, 2022

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Jun 20, 2022

Please check if the PR fulfills these requirements

What kind of change does this PR introduce?
If invalid ranges are requested in DocumentSymbol the language server will just ignore and log them.

What is the current behavior?
A jsonrpc error is returned, making the language server unusable on some IDE.

What is the new behavior?
The invalid range is just ignored.

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Jun 22, 2022
Copy link
Contributor

@kittaakos kittaakos left a comment

Choose a reason for hiding this comment

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

This makes sense. Thank you! <3

@cmaglie cmaglie merged commit dc5b582 into main Jul 11, 2022
@cmaglie cmaglie deleted the various_fix branch July 11, 2022 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants