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.
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
To navigate to the implementation, press Ctrl+Alt+B .
In IntelliJ IDEA, you can see where and how symbols, such as tags, classes, fields, methods, or functions are defined in your project. For this purpose, the IDE features the Quick Definition popup. To view definition of a symbol, select it in the editor and press Ctrl+Shift+I (or click View | Quick Definition).
On the menu bar, choose View | Navigate | Next My Code Call or View | Navigate | Previous My Code Call. Press Ctrl+Right or Ctrl+Left .
In Intellij you are in an editor, so the keyboard shortcuts are slightly different: Ctrl+Shift+{NUM} for grouping and Ctrl+{NUM} for a jump and focus to the line.
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With