L P
L P

Reputation: 109

Quick way to go to object's type definition in Goland

I can do Ctrl+Shift+P (on Linux) in Goland on a variable name to get the type of object it is (in a tooltip). Is there a quick way to go to the definition of that type?

Usually I have to type in the name again either via search or tapping Shift twice.

Upvotes: 3

Views: 1055

Answers (1)

s0xzwasd
s0xzwasd

Reputation: 3244

Use any of the below shortcuts:

  • Ctrl (Command) + Shift + B
  • Ctrl (Command) + Shift + Left-click

Please see the official GoLand documentation: Go to declaration and its type.

Upvotes: 4

Related Questions