Sublime Forum

Show Definitions Instantly with Modifier key

#1

Is there a way to configure a keybinding to show definitions instantly?

For example, I would like to maintain the alt key pressed to be able to navigate files thru definitions more faster.

0 Likes

#2

You mean F12 key to go to the definition?

0 Likes

#3

Nope, sorry, what I meant to say is to show the Tooltip instantly. Because I’m using the package https://packagecontrol.io/packages/ClickableRequires which uses the Tooltip.

0 Likes

#4

Tooltips are handled by packages so there is no global way to open them. At the moment, ClickableRequires just uses the on_hover event to create and display the tooltip.

You’d need to ask the author of ClickableRequires to implement a command to display the tooltip, which could then be bound to a key.

0 Likes

#5

Ohh, ok, thanks a lot!

0 Likes