Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 966
Mayank Patel Avatar asked Aug 08 '16 10:08

Mayank Patel


People also ask

How do I navigate to implementation method in IntelliJ?

To navigate to the implementation, press Ctrl+Alt+B .

What is jump to function in IntelliJ?

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).

How do I go back to a call method in IntelliJ?

On the menu bar, choose View | Navigate | Next My Code Call or View | Navigate | Previous My Code Call. Press Ctrl+Right or Ctrl+Left .

How do I jump to a line in IntelliJ?

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.


1 Answers

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

like image 60
Mayank Patel Avatar answered Sep 27 '22 19:09

Mayank Patel