Disable Ctrl-Click Declaration Lookup in WebStorm

I've just started using WebStorm but when I'm copying and pasting the "ctrl-click" feature (which takes one to the declaration) is constantly being activated accidently and is driving me crazy.
Is there anyway to switch this off?  I've searched the Settings numerous times and I can't see a setting.

The problem is that if you hightlight a word and press ctrl before you release the mouse button, when you do release the mouse button the feature fires.
Thanks for any help in advance.

0
7 comments

Hi Haggle Lad,

1) File | Settings | Keymap

2) In the list of Actions find the Declaration action ("Main Menu | Navigation" ... or just type "Declaration" in search box)

3) Remove Ctrl+Button1 Click shortcut

0
Avatar
Permanently deleted user

Really appreciate your swift answer, this is the solution!  Great!

0

This issue has reappeared in 2017.1

I have "Editor Actions | Add or Remove Caret" bound to "Ctrl+Button1 Click", and "Main Menu | Navigate | Declaration" bound to just "Ctrl+B", but Ctrl+Clicking on a keyword still attempts to navigate to the declaration

 

My settings can be found here: https://github.com/SpyMaster356/IntelliJ-Settings

0

@Stephen Wilson

If that's the case (shortcut is not assigned to that action but it still invokes it) then it's better to report such regression/bug to WebStorm Issue Tracker

0

Wow, thanks for the quick reply. I'll go and report it.

0

@Stephen Wilson

https://youtrack.jetbrains.com/issue/IDEA-169684

Seems to be your case (at least sounds the same to me at first glance) -- have a look.

0

@Andriy,

Yep that looks like the issue i'm having, though i also found https://youtrack.jetbrains.com/issue/WEB-26151 first which was marked as duplicate of a completely diffrent issue

0

Please sign in to leave a comment.