Please consider editing your post and mark it as obsolete instead. Do you want to delete post?
Disable Ctrl+Click Navigate
Permanently deleted user
Created
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?
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.
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.
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.
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.
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.
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!
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.
I found that disabling VS click but leaving R# Rich mouse navigation in the editor => still got Ctrl+Click navigation = failed copy+paste a lot of the time. Relates to these I think…
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 !
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?
Hello Jon
ReSharper | Options | Environment | Search & Navigation | Go to Declaration on Ctrl+Click in the editor.
Thanks!
Hello,
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!”
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.
Hello,
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!”
Thanks for the answers everyone. I've found the option that overrides the default highlight functionality.
I'm saying you should override the default functionality and learn to use expand selection.
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.
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.
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.
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!
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.
"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.
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.I found that disabling VS click but leaving R# Rich mouse navigation in the editor => still got Ctrl+Click navigation = failed copy+paste a lot of the time. Relates to these I think…
https://resharper-support.jetbrains.com/hc/en-us/community/posts/206092779-double-click-on-identifier
https://resharper-support.jetbrains.com/hc/en-us/community/posts/8285589467282-double-click-text-selection-doesn-t-work-correctly?page=1#community_comment_14637902553874
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"?
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 !
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?
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!