x/tools/gopls: Extract Function refactor doesn't put the context first #60738
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
gopls version
go env
probably not relevant
What did you do?
I'm trying to use the extract function refactoring feature, but it doesn't order the parameters the way I would expect. It doesn't put the context first. Here's a one file example:
Edit: the pointer stuff is not relevant. It turns out that the arguments are in the order in which they appear in the body of the function.
What did you expect to see?
What did you see instead?
Editor and settings
coder/code-server (fork of vs code) https://github.com/coder/code-server version 1.77.3
Logs
Probably not relevant, but I see these logs:
The text was updated successfully, but these errors were encountered: