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

Handle "Unsupported notification method: $/analyzerStatus" #35

Closed
jonas-jonas opened this issue Jun 20, 2019 · 2 comments
Closed

Handle "Unsupported notification method: $/analyzerStatus" #35

jonas-jonas opened this issue Jun 20, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@jonas-jonas
Copy link
Member

The Dart analysis server uses $/analyzerStatus to indicate the status of the analyzer.
LSP4J does not support this, and throws an error to the console. We should suppress or handle the error accordingly.

Note: that it might be useful to actually have the notification be used for an indicator in the ui (maybe a progress bar at the bottom).

@jonas-jonas jonas-jonas self-assigned this Jun 20, 2019
@jonas-jonas jonas-jonas added the bug Something isn't working label Jun 20, 2019
@jonas-jonas
Copy link
Member Author

I pushed a fix to 2f87ec3 that should handle this. Also opens up the possibility to handle other such customs methods (very easily).

Will have to check how to present the user with the analyzing indicator.

@jonas-jonas
Copy link
Member Author

Fixed via 2ced7b7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant