Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/gopls: consider a -utf8 flag to talk UTF8 offsets #38274
What version of Go are you using (
While I am sympathetic, I don't think this is the right answer.
Thanks @ianthehat. I'm very aware this proposal is not without its downsides! So appreciate the discussion.
Agreed. The most recent motivation has been the work to add fuzzy-finder driver symbol searching to
This same overhead applies to diagnostics returned by LSP (although the numbers there are generally far less).
It also makes it much harder to write a "plain old LSP client" for things like scripting (cc @findleyr).
Under what conditions do you see this as being "inevitable"? Do many people have two editors running against the same LSP?
Would it not be the case that for those people who are not using
For those people who are using remote, you could also automatically add the result of the
Whilst it would always be possible for people to find edge cases, it feels like it would be entirely possible to prevent foot-gun incidents entirely if people use the forwarder to connect to
This is a good point. I struggle imagine that I'm the first person ever to bring this up.
@mattn thanks, I had not seen that one, very relevant
@myitcv I expect in the future that everyone will be using