Open rogeryk opened 9 months ago
The bad news is that "extract function" has a lot of serious bugs that make it a use-at-your-own-peril sort of feature: notably, it discards all comments in the code that migrates. The good news is that it is a priority for our team in 2024 to improve all of our refactoring tools.
gopls version
v14.2
go env
What did you do?
In the following example, select all main function body, then toggle "Extract function"
What did you expect to see?
What did you see instead?
Editor and settings
No response
Logs
No response