Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

LSP: make use of relatedInformation for richer diagnostics - #258

Merged
orta merged 2 commits into
flow:masterfrom
thymikee:feat/relatedInformation
Jul 5, 2018
Merged

LSP: make use of relatedInformation for richer diagnostics#258
orta merged 2 commits into
flow:masterfrom
thymikee:feat/relatedInformation

Conversation

@thymikee

@thymikee thymikee commented Jun 25, 2018

Copy link
Copy Markdown
Contributor

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

orta commented Jun 26, 2018

Copy link
Copy Markdown
Contributor

very cool

@macrozone

Copy link
Copy Markdown

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

@macrozone

Copy link
Copy Markdown

@thymikee is there a way to try that out?

@thymikee

Copy link
Copy Markdown
Contributor Author

@macrozone yup, you're right!

@wbinnssmith

Copy link
Copy Markdown

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

thymikee commented Jul 4, 2018

Copy link
Copy Markdown
Contributor Author

Thanks @wbinnssmith, updated! cc @orta

@orta

orta commented Jul 5, 2018

Copy link
Copy Markdown
Contributor

Yep, cool!

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

orta commented Jul 5, 2018

Copy link
Copy Markdown
Contributor

Shipped in 0.8.2

@macrozone

Copy link
Copy Markdown

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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants