zielu / GitToolBox

GitToolBox IntelliJ plugin
GNU General Public License v3.0
607 stars 76 forks source link

[Feature] Optionally require key pressed for inline links to work #545

Closed anbuc closed 7 months ago

anbuc commented 8 months ago

The links added by GitToolBox (Code vision, inline blame) currently work directly and open the browser. This forces the IDE into the background, which is especially irritating if I just wanted to bring the IDE into the foreground and clicked somewhere in the editor but accidentally hit one of those links.

PHPStorm itself has a configurable keybind for clicking links (command+click or ctrl+click by default), otherwise the links are just treated as text. Something similar would be nice for the GitToolBox links as well.

This should go for any links that would open the browser.

zielu commented 8 months ago

Hi, you are correct it's irritating :) . I'll add this.

zielu commented 7 months ago

Done in 500.2.5 image

Muscleape commented 7 months ago

Done in 500.2.5 image

but it doesn't work for me

zielu commented 7 months ago

Now it depends what you have configured for Click Link action. For example I'm on mac and I had to remove force touch to make it behave