question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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.

2017-01-06-150041_626x115_scrot

this is fine, but when I do this, I am doing it to replace it with something else. So I’ll start typing:

2017-01-06-150136_731x106_scrot

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:

2017-01-06-150329_1605x153_scrot

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:open
  • Created 7 years ago
  • Reactions:102
  • Comments:38 (4 by maintainers)

github_iconTop GitHub Comments

228reactions
leocaseirocommented, Apr 10, 2017

Try Alt+C(pc) or Option+Command+C(mac) to toogleFindCaseSensitive

35reactions
msagerydcommented, Apr 28, 2017

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”

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to make multiselect via CMD + d case sensitive in Visual ...
It's great to do a multiselect in Visual Code to replace a lot of strings in one turn. However, this is useless when...
Read more >
Why do people like case sensitivity? [closed] - Stack Overflow
Case sensitivity makes it easy to use the "same name" in different ways, ... Just because you can name things which only differ...
Read more >
Quire Feedback
Mobile: Please enable multi-select of tasks in task-bundle view, too. by ... The use case is whenever I create a notion page, I...
Read more >
Programming with Unicon
Unicon is an object-oriented, goal-directed programming language based on ... a pattern – or perhaps a part of a pattern may be case...
Read more >
Untitled
#is Muttermund hart, 690 gtx review, Harry potter sorteerhoed, Paro escom. ... Isobuster portable 3.0, Mittran ne much by amrit maan, Senegalaise sabar?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found