Search code examples
gointellij-ideainterfacekeyboard-shortcutsgoland

IntelliJ IDEA: Jump from interface to implementing method in Go


In IntilliJ Idea/Goland, Is there any shortcut that would allow me to select a method inside interface definition and jump to implementation of that method or give me list of implementations.

I am looking for something like what I get when Cmd+Click and get usage of the methods/function.

View After Cmd+Click

But instead of usage of method I need short cut for implementation. Currently I have to copy the method name and search in the project, which does not feels like most efficient way.

I am using intelliJ Idea (Community Edition) 2016.2.2 EAP with Go plugin Version: 0.12.1724.

I have tried Cmd+Alt+b but always getting No implementation found


Solution

  • This support has been added in Goland (or with go plugin in IntelliJ ultimate) now. Shortcut for the same is Alt+Cmd+B (Option+Cmd+B for Mac).

    enter image description here