Skip to content

Conversation

@oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Dec 15, 2019

No description provided.

@matklad
Copy link
Contributor

matklad commented Dec 15, 2019

bors r+

Seems useful!

Is there a specific case where one is forced to use JSON?

bors bot added a commit that referenced this pull request Dec 15, 2019
2566: Add a rudimentary json regex to get at information like `endLine` r=matklad a=oli-obk



Co-authored-by: Oliver Scherer <[email protected]>
@oli-obk
Copy link
Contributor Author

oli-obk commented Dec 15, 2019

Is there a specific case where one is forced to use JSON?

I found the squiggly lines to be fairly confusing with the standard matchers. Especially around unused imports I kept getting the std of use std::something::Else; highlighted, which looked rather odd.

@bors
Copy link
Contributor

bors bot commented Dec 15, 2019

Canceled

@matklad
Copy link
Contributor

matklad commented Dec 15, 2019

bors r+

bors bot added a commit that referenced this pull request Dec 15, 2019
2566: Add a rudimentary json regex to get at information like `endLine` r=matklad a=oli-obk



Co-authored-by: Oliver Scherer <[email protected]>
@matklad
Copy link
Contributor

matklad commented Dec 15, 2019

Just for the context, the long-term plan here is to move this from frontend (VS Code), to the language server proper (but still using an external command to get the errors). In this future setup, we should just parse JSON properly.

@oli-obk
Copy link
Contributor Author

oli-obk commented Dec 15, 2019

Yea I'm totally aware this is just papering over the issue. Great to hear there's a plan for it.

@bors
Copy link
Contributor

bors bot commented Dec 15, 2019

Build succeeded

  • Rust
  • TypeScript

@bors bors bot merged commit 5166f6e into rust-lang:master Dec 15, 2019
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.

2 participants