You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
The text was updated successfully, but these errors were encountered:
gopherbot
added
Tools
This label describes issues relating to any tools in the x/tools repository.
gopls
Issues related to the Go language server, gopls.
labels
Jun 12, 2023
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: