Add support for gorename
There is a new tool added to the tools repository that looks interesting; gorename. The tool allows you to easily rename identifiers across a project. Might be worth a look.
https://groups.google.com/d/msg/golang-nuts/96hGPXYfqsM/WreOUy9qOT4J
:+1: I like this in concept. @hansrodtang if you would like to create a PR for this I'd gladly welcome it; if I work on it, it'll be after gocode integration is done.
Isn't essentially this the same thing as gofmt -r pattern -> replacement?
@soygul, no it uses static analysis to determine what to change. It is not the same as pattern matching.
Ok, a lot better than I imagined then! Although gofmt pattern matching is dummy regular regex, it recognizes Go expressions and does not rename comments and stuff.
This package is month old https://github.com/redefiance/atom-go-rename probably would be best to integrate?
I'd appreciate if someone could review and comment on my pull request for this. There's a few things I can't quite figure out and a lot of things I'm sure could be done better.
https://github.com/joefitzgerald/go-plus/pull/174
:+1: for this feature
This shipped in v4.0.0 thanks to @zmb3 :tada:.