vscode used to use gorename to do the renames. However, gorename does not support go modules. gopls should be used instead. If it is not available to your project, try to add the following in your configuration file:
"go.languageServerExperimentalFeatures": {
"rename": true
}
No comments:
Post a Comment