Disable Ctrl+Click Navigate

I am very use to using Ctrl-click to highlight words in visual studio, but Resharper replaces this with its own navigation behavior. Where is the option to change this?

Many thanks.

2
18 comments

Hello Jon

ReSharper | Options | Environment | Search & Navigation | Go to Declaration on Ctrl+Click in the editor.

Thanks!

2
Avatar
Permanently deleted user

Hello,

I am very use to using Ctrl-click to highlight words in visual studio,
but Resharper replaces this with its own navigation behavior.


Ctrl+Click has been updated to be friendly with Drag'n'Drop copying (with
Ctrl key) and to be more or less compatible with Ctrl+Click word selection.
To select a word without navigation happening, move the cursor slightly while
the mouse button is down.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0

I strongly recommend leaving ctrl+click to be owned by resharper.

Replace highlight words clicking with the usage of the resharper command "Expand selection" i believe the default hotkey for expand selection is Ctrl+shift+w but i may have remapped it to that.

Expand selection was one of the hardest habits to get myself into with resharper but now that i use it, i use it all the time. I also end up trying to do it in other apps and random things occur from me rapidly pressing Ctrl+shift+w Ctrl+shift+w Ctrl+shift+w with no further thought.

-1
Avatar
Permanently deleted user

Hello,

I strongly recommend leaving ctrl+click to be owned by resharper.

Replace highlight words with usage of the keyboard command "Expand
selection" i believe the default hotkey for expand selection is
Ctrlshiftw but i may have remapped it to that.


CtrlW actually (just like in a clean VS), and additionally CtrlAlt+Right
(+Left to undo) with R# Visual Studio friendly keyboard layout.

PS I've once put some effort into making Ctrl+Click usable with DnD and word
selection. As I mentioned, it would cancel off navigation if you move the
cursor slightly while the button is pressed down.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0
Avatar
Permanently deleted user

Thanks for the answers everyone. I've found the option that overrides the default highlight functionality.

1

I'm saying you should override the default functionality and learn to use expand selection.

-2


CtrlW actually (just like in a clean VS),

I don't think that's accurate. Looking at the keyboard settings Ctrl+W is used as a combinatory keyboard command for nearly 2 dozen commands so pressing ctrl+W merely gives you "waiting for second key"

It's quite possible i created ctrl+shift+w then.

I find all keyboard commands that require the right hand to be aboslutely worthless. I want keyboard commands purely on my left hand so i can use my right hand to navigate with the mouse.

-1
Avatar
Permanently deleted user

Why should I override a function that I use constently with something that I only use rarely? I don't use "go to declaration" enough for it to have its own hotkey.

3

nug700 wrote:

Why should I override a function that I use constently with something that I only use rarely?

Because it will change your world when you know you can always ctrl+click on everything to navigate everywhere.

Also expand selection is why more powerful than the visual studio highlighting, it understands code blocks properly.

-2
Avatar
Permanently deleted user

I am delighted to find this solution. I am also highly bemused by Chris Marisic's determination of insisting the problem is in fact, a good thing, instead of helping the original poster to solve this problem. Some of us have this thing; it's called "Muscle Memory". Some of us have it, and can be decades old; meaning, we can't/won't change, and find the hijacking of our beloved CTL key (+click to select whole word) a huge frustration. Long live CTL+click to select!

2
Avatar
Permanently deleted user

This option has now been replaced by "Search & Navigation > Rich mouse navigation in the editor".

The whole section needs to be disabled to recover the normal CTRL+Click behavior.

2

"This option has now been replaced by "Search & Navigation > Rich mouse navigation in the editor".

The whole section needs to be disabled to recover the normal CTRL+Click behavior."

No longer works - disabling the section doesn't fix Ctrl + Click.

0

I was wrong - it does work. Got this from JB, which fixed the issue:

 

Angelina Elycheva (ReSharper)

Hello,

VS has its own Ctrl+Click navigation setting, could you please check if disabling it helps - VS Tools | Options | Text Editor | General | Enable mouse click to perform Go to Definition.

0

Could it be that Ctrl+Click is mapped somewhere (e.g. in windows?) to "Middle Click” so that I then get R# => "Middle-Click go to declaration"?  

0

Seems I have to turn off  “Rich Mouse navigation in the editor”
and set "Smart Go to Declaration behaviour" to "Do nothing"
else — I fail to C+Paste 200x a day…. any tips here? Think I am holding Ctrl inappropriately but… that's muscle memory… will take time to change. Would love to have these features… but still be able to C+paste like I usually do. Thanks all ! 

0

Yes if I leave Rich Mouse… selected, but deselect everything under it (and set Smart Go… to Do nothing) I stil get the underline and navigation… doesn't seem right to me, what am I missing? 

0

Hello Bcameronsmith!

Thank you for contacting us.

Could you please create a separate ticket (big blue button “Submit a request” in the right top) and provide all details about issue you were faced?

Thank you!

0

Please sign in to leave a comment.