-
Notifications
You must be signed in to change notification settings - Fork 646
Permission error when renaming symbol #3058
Comments
Are you using the language server? Renaming without the language server is not supported for projects using modules. You can enable the language server by setting |
Thanks for the note! I am not using go modules in the project so I do not
think I'm using the gopls language server.
…On Wed, Feb 19, 2020, 11:31 AM Rebecca Stambler ***@***.***> wrote:
Are you using the language server? Renaming without the language server is
not supported for projects using modules. You can enable the language
server by setting "go.useLanguageServer": true. More details are
available here
<https://github.com/golang/tools/blob/master/gopls/doc/vscode.md>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3058?email_source=notifications&email_token=ACAT6S4FR7TJC2Z6RFSOESTRDWCKVA5CNFSM4KX73VX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMJFYJY#issuecomment-588405799>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACAT6S52ZIJ6CMHZMFVHDYDRDWCKVANCNFSM4KX73VXQ>
.
|
I am guessing |
And |
Unlike others, setting |
Please direct general questions to:
Please review the Wiki before filing an issue.
Helpful pages include:
Please answer these questions before submitting your issue. Thanks!
What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Gocode -v
orcode-insiders -v
to get version of VS Code or VS Code Insidersc47d83b293181d9be64f27ff093689e8e7aed054
x64
go env GOOS GOARCH
to get the operating system and processor arhcitecture detailsShare the Go related settings you have added/edited
Run
Preferences: Open Settings (JSON)
command to open your settings.json file.Share all the settings with the
go.
or["go"]
prefixes.Describe the bug
A clear and concise description of what the bug.
When I use the VS Code Rename Symbol functionality a failure message consistently pops up with "Rename failed to compute edits". In the Output tab I see an error string where a permission denied error occurrs with a number of files in
$GOPATH/pkg/mod/
. I could try changing file permissions withchmod
but this seems like it shouldn't be happening in the first place. Here's the error string with some redactions below:The text was updated successfully, but these errors were encountered: