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

LSP: make use of relatedInformation for richer diagnostics #258

Merged
merged 2 commits into from
Jul 5, 2018

Conversation

thymikee
Copy link
Contributor

@thymikee thymikee commented Jun 25, 2018

Just updating the deps to get it working.

This PR is currently blocked by facebookarchive/flow-language-server#82. After this is released, we can update the flow-language-server dep once again and get this feature in.

Fixes #254

Here's a preview of richer diagnostics (note the links):

screen shot 2018-06-26 at 00 03 24

@thymikee thymikee mentioned this pull request Jun 25, 2018
9 tasks
@thymikee thymikee changed the title LSP: make use of relatedInformation for richer diagnostics with LSP: make use of relatedInformation for richer diagnostics Jun 25, 2018
@thymikee thymikee changed the title LSP: make use of relatedInformation for richer diagnostics [WIP] LSP: make use of relatedInformation for richer diagnostics Jun 25, 2018
@orta
Copy link
Contributor

orta commented Jun 26, 2018

very cool

@macrozone
Copy link

this seems to solve this? #254 that would be so awesome

@macrozone
Copy link

@thymikee is there a way to try that out?

@thymikee
Copy link
Contributor Author

@macrozone yup, you're right!

@wbinnssmith
Copy link

Just merged facebookarchive/flow-language-server#82 and published it as 0.6.0. Apologies for the delay!

@thymikee thymikee changed the title [WIP] LSP: make use of relatedInformation for richer diagnostics LSP: make use of relatedInformation for richer diagnostics Jul 4, 2018
@thymikee
Copy link
Contributor Author

thymikee commented Jul 4, 2018

Thanks @wbinnssmith, updated! cc @orta

@orta
Copy link
Contributor

orta commented Jul 5, 2018

Yep, cool!

@orta orta merged commit 3da1fbd into flow:master Jul 5, 2018
@orta
Copy link
Contributor

orta commented Jul 5, 2018

Shipped in 0.8.2

@macrozone
Copy link

very nice, this works very well!

Btw. should we consider useLSP to be the default? at the moment, it has to be turned on manually

@thymikee thymikee deleted the feat/relatedInformation branch July 11, 2018 13:09
@thymikee
Copy link
Contributor Author

Not sure if folks gonna like it, it lacks couple of existing options like run on edit instead of save. But I got couple of folks interested in contributing, so hopefully we'll get to feature parity quicker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants