-
If a renaming edits a file that imports "C", that file gets completely overwritten by the result of cgo preprocessing (and renaming) applied to that file, potentially destroying source code:
```
$…
-
Don't know if using a '.' as the -from package is supposed to be legal but I ran into a panic doing so.
```
$ cd $GOPATH/src/foo
$ ls
hello.go
$ cat hello.go
package main
func sayHello() {
}
func m…
-
**Is your feature request related to a problem?**
I am frustrated when I cannot use F2 to rename a symbol in my struct that is used in more than one .go file.
I receive this error:
_renaming "ID" …
Omzig updated
2 years ago
-
When renaming a symbol in an internal package, gorename finds and reports buggy packages outside the internal tree:
```
$ gorename -dryrun -from '"cmd/compile/internal/gc".Node' -to Qux
While scannin…
-
(Sorry for the terrible issue description, I don't really understand all the pieces.)
When I use `gorename` on a project that transitively depends on a cgo library, I get the error:
```
cgo pkg-conf…
evmar updated
2 years ago
-
### What version of Go are you using (`go version`)?
$ go version
go version go1.17.2 linux/amd64
### Does this issue reproduce with the latest release?
Yes
### What operating s…
-
Refactoring tools such as eg, gorename, and bundle need access to the precise relationship between references and declarations. Before Go 1.8 the Defs and Uses maps sufficed, but with the introductio…
-
### What version of Go are you using (`go version`)?
$ go version
go version go1.16.6 linux/amd64
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/had…
-
### Behavior
vim-go: could not find 'guru'. Run :GoInstallBinaries to fix it.
Although $GOPATH/bin/guru does indeed exist, issuing :GoInstallBinaries fixes the issue but only for the current VIM ses…
-
```
$ cat $GOPATH/src/p/p.go
package p
type S struct{ R int }
type T struct{ *S }
func F(t T) int { return t.R }
```
```
$ cat template.go
package p
import "p"
func before(t p.T) int { return t.…