OneWholeBurrito
OneWholeBurrito

Reputation: 492

Force-Click in IntelliJ?

I'm pretty new to IntelliJ, I also have Apple's new force-click enabled trackpad. Seems like it'd be super useful to be able to assign force-clicking to a keymap action (like bringing up a javadoc for example). Is there anyway to do this? Right now if I try to assign a force click it comes up as 'Button 1'.

Thanks!

Upvotes: 12

Views: 2290

Answers (1)

Paul C
Paul C

Reputation: 8457

This seems to be supported now in at least 2016.2, but you have to set it up.

For instance to set Force Touch to trigger "Go to Declaration" (navigate to function/class/symbol declaration), go to Preferences->Keymap. Then search for "Declaration". Right click the entry and select "Add mouse shortcut". In the popup, perform a force-touch hard-click. Apply and you're done!

Upvotes: 22

Related Questions