6

What is the purpose of these commands?:

enter image description here

1 Answer 1

7

As far as I know, this feature is only available if it's supported by the language you're using. For example, it's available with several bundled languages such as PHP or JavaScript.

When your cursor is over a function declaration (or when it's selected), you can use Goto Reference to jump to all calls of that function within your project. Using Goto Definition works the other way round, hover over a function call let's you jump to its definition.

Personally, I prefer using Sublime Text's tooltips that display definitions and references when hovering a function call.

Example:

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .