Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/gopls: define which LSP features return errors #35694
What version of Go are you using (
I'm going to co-opt this issue to continue the general discussion about which LSP requests should return errors, and which should just fail silently. The guiding principle that I'm following right now is: An action triggered by the user should always get a complete response or an error, whereas an action triggered by the editor should get a partial response. As an example:
I'd like to complete this list for all of the different features, and formatting and code actions are corner cases, since they can be triggered by the editor automatically or by the user directly.