Sublime Forum

Go to definition differences between shortcut and hover

#1

Sublime 4169 - macOS - Php syntax

My code have classes, and a lot of functions have the same name,
example: getData, insert, etc.

When using Linux, I had no problems, but now in macOS the things are different.

When hovering a function name, and click in the ‘Definition’ option,
it opens the file with the function definition immediately.
image

But, if use the key F12, which is the shortcut to “Go to definition”,
its opens a popup with a lot of files that have that function definition.
image

Is there’s a way I could change this behavior, I only want to press F12 and open the right file.

Thanks in advance!

0 Likes

#2

I strongly recommend people to read README, plugin settings, plugin keybindings of any plugin you installed.

1 Like

#3

Genius!

Thanks a lot @jfcherng

(I think I couldn’t get beware of that by reading the READMEs)

0 Likes

#4

True, but they are in the default keybindings but commented out.

0 Likes