Ctrl+ Click selection doesn't stick

Hi, I have been using the eval of ReSharper and really like it... mostly. But I have this habit that ReSharper gets in the way of.

When I copy a token from one part of the code to another, I hold the Ctrl key for this entire process:
1) click (select token)
2) C (copy)
3) click (select different token)
4) V (paste)

I know I can retrain myself. But ReSharper seems to deselect the selection after a Ctrl+Click.

Any idea how to disable this behavior?

2 comments

Hello Brian,

Try turning off 'Go to Declaration on <Control+Left Click> in editor' option
under ReSharper | Options | Environment | Search & Navigation. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hi, I have been using the eval of ReSharper and really like it...
mostly. But I have this habit that ReSharper gets in the way of.

When I copy a token from one part of the code to another, I hold the
Ctrl key for this entire process:

1) click (select token)

2) C (copy)

3) click (select different token)

4) V (paste)

I know I can retrain myself. But ReSharper seems to deselect the
selection after a Ctrl+Click.

Any idea how to disable this behavior?

---
Original message URL:
http://devnet.jetbrains.net/message/5291104#5291104



0

Hello,

I know I can retrain myself. But ReSharper seems to deselect the
selection after a Ctrl+Click.

Any idea how to disable this behavior?


R# uses Ctrl+Click for Goto Declaration behavior, but does not activate it
if you're doing drag'n'drop with Ctrl or mouse-selection with Ctrl.
So there're two possible workarounds:
(1) Disable "Goto Declaration by Ctrl+Click".
(2) Move the mouse slightly when selecting the token with Ctrl+Click with
the mouse button pressed. This will indicate that you're probably willing
to do drag'n'drop or ctrl+selection, and Goto Declaration will not take over
the selection.


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


0

Please sign in to leave a comment.