-
Notifications
You must be signed in to change notification settings - Fork 62
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
codespan-reporting and codespan-lsp compatibility #227
Comments
Thanks for your issue! I've been trying hard to de-emphasise
|
@brendanzab would you be open to including some LSP utilities in |
Ohhh, that is a good idea, yes! Now I have a better handle on the |
I'd definitely be open to collaborating on this! Feel free to chat on Gitter or the the #langdev channel on the rust community discord if you like! |
I've been using
codespan
andcodespan-reporting
for error reporting for my CLI. I'm now working on an LSP extension and want to usecodespan-lsp
to covert to the proper LSP types, but it seems likecodespan-reporting
doesn't play well.For example, I have a custom file system abstraction that implements the
Files
trait butcodespan-lsp
utilities likebyte-span-to-range
expect a reference tocodespan::Files
. They also expect aSpan
butcodespan-reporting
'sLabel
usesRange<usize>
.Are there plans to align the packages one way or the other, or should I just roll my own diagnostics object and have compatibility layers for
codespan-reporting
andcodespan-lsp
?The text was updated successfully, but these errors were encountered: