Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have ctrl+click work the same way as in Visual Studio #27905

Open
xingzhuo1983 opened this issue Jun 2, 2017 · 6 comments
Open

Have ctrl+click work the same way as in Visual Studio #27905

xingzhuo1983 opened this issue Jun 2, 2017 · 6 comments
Labels
editor-core Editor basic functionality feature-request Request for new features or functionality
Milestone

Comments

@xingzhuo1983
Copy link

we use dblclick LBtn to select a word, but using ctrl +LBtn is a good way,
in vs studio we could do the following:

  1. basic: press ctrl and click a word, the word is selected.
  2. advanced: when a word is selected , press ctrl+shift and select another word, so we could select from the start of the first word to the end of the last word
    3.advanced: with ctrl down, we clicked a word, don't release the LBtn, move the mouse to some where in the middle of the next word , the whole next word will be selected. this is the same effect as the "ctrl + right"
@alexdima alexdima added feature-request Request for new features or functionality editor-core Editor basic functionality labels Jun 6, 2017
@alexdima
Copy link
Member

alexdima commented Jun 6, 2017

Related: #3130

@alexdima alexdima added this to the Backlog milestone Jun 6, 2017
@alexdima alexdima changed the title expecting a feature same as VS Studio Have ctrl+click work the same way as in Visual Studio Jun 6, 2017
@alexdima alexdima removed their assignment Jun 6, 2017
@RcSepp
Copy link

RcSepp commented Jun 9, 2017

I agree. This is one of the best features of the Visual Studio IDE.
With this feature you can copy-and-replace text faster than typing it into the find/replace window, just by holding down Control and typing Left-Click, C (on the word to copy), Left-Click, V (on the first word to replace), Left-Click, V (on the second word to replace), ...

Please add the option to bind Goto-Definition to F12 (like in Visual Studio) and Control-LeftClick to SelectWord (as requested by xingzhuo1983).

@dougbenham
Copy link

https://github.com/dougbenham/CtrlClick

@RcSepp
Copy link

RcSepp commented Jan 14, 2022

The fact that people are willing to install a keyboard hook to replicate this behavior should be considered a strong upvote.

@jjblodgett
Copy link

https://github.com/dougbenham/CtrlClick

@dougbenham That's a great start! The only functional step towards a solution I've seen in the 5 or 6 years we've been waiting for this feature in VS. The only thing I noticed right away is that it works great with single words but if I need to do a phrase, I don't see a way to CTRL+click and drag to select multiple words. Any chance that's an easy adjustment or am I missing a way to do that currently?

@dougbenham
Copy link

dougbenham commented Aug 21, 2023

@jjblodgett A new release is added that might fix that functionality for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor-core Editor basic functionality feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

5 participants