Multiselect via ctrl+d case insensitivity makes it useless
See original GitHub issue- VSCode Version: Code 1.8.1 (ee428b0eead68bf0fb99ab5fdc4439be227b6281, 2016-12-19T14:41:20.664Z)
- OS Version: Linux x64 4.4.38-1-MANJARO
- Extensions:
Extension | Author | Version |
---|---|---|
Go | lukehoban | 0.6.51 |
Steps to Reproduce:
consider this block of code:
accountQryConn *grpc.ClientConn
accountQryClient proto.AccountQueryClient
when I select ‘account’ and hit alt+d a few times it will select it like this.
this is fine, but when I do this, I am doing it to replace it with something else. So I’ll start typing:
but now my case is broken for my second string.
This is fine in a small example, but very annoying.
Currently the case matches whatever is highlighted in the search widget. Behold what happens if I turn off case sensitivity:
This is incredibly annoying. I can’t think of a time when you would want to multiselect case-insensitively with ctrl+d. It simply selects the wrong stuff, because in code it’s always case sensitive. So depending on whatever I did last with ctrl+f, my ctrl+d either works or is annoying.
I think ctrl+d should always be case sensitive, or have a button that’s not search-tied that does a case sensitive string selection match across the file
My two cents.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:102
- Comments:38 (4 by maintainers)
Top GitHub Comments
Try
Alt+C
(pc) orOption+Command+C
(mac) totoogleFindCaseSensitive
Please make findCaseSensitive a setting so we can have case sensitivity by default. Everytime VSCode is restarted the case sensitivity toggles back to the default, ie. not case sensitive.
This has bitten me many times when using cmd-d for multiselecting in “refactoring sessions”