-
Notifications
You must be signed in to change notification settings - Fork 61
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
Make File type public #249
Comments
Similarly to my comment in #248, I'd probably recommend making a custom implementation of |
Hmm ok. To be honest the only feature of So what I was going to do is make a custom implementation of What would you recommend if I don't want to have to deal with the hassle of implementing |
ahhhh - yeah I'm not sure! One idea we had was to have an lsp backend for the |
Yeah I think so. I just want a trait that has a few things to make dealing with LSP changes easier - i.e. The I really just want a
And then a default implementation of it. Maybe it's simpler if I just copy/paste the line handling code from |
Most of the functionality of
Files
(e.g.range_to_byte_span
) actually operates on individualFile
s but for some reason that struct is private, and you can only use these methods throughFiles
.I think it makes sense to make
File
public and move those methods onto it (theFiles
ones can be kept as wrappers).The text was updated successfully, but these errors were encountered: