Multiple Cursors - Preserve Case
See original GitHub issueUse Case
Take the following:
const [value, setValue] = useState();
I want to change it to:
const [array, setArray] = useState();
Feature Ask It would be great to:
- Select
value
. - Press
Ctrl+D
. - Type
array
. - See that both symbols have changed, while preserving their proper casing.
Right now, I need to conduct two edit operations to do this. Alternatively, I can use a single Find & Replace operation, but that would be disproportionately time-consuming for this task, as well as less precise.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:49
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Multiple cursor case preserve - Visual Studio Marketplace
This extension preserves selection case in these situations. It recognises CAPS, Uppercase and lowercase. Works for typing or pasting.
Read more >Case-sensitive multiselect in VS Code - J Ben Deaton
When I use multiselect (aka multiple cursor selection) in VS Code via Cmd+D (which is constantly), I usually prefer case-sensitive behavior ...
Read more >Multiple cursors and selection ranges | IntelliJ IDEA ...
Successively press Alt+J to find and select the next occurrence of case-sensitively matching word or text range. https://resources.jetbrains.com ...
Read more >vscode: Keep the cursor on the *last* instance when escaping ...
To quit the multiple cursors mode and go to normal single-cursor mode, you can use esc . However, this will move the cursor...
Read more >Examples of Multi-Cursor for working with Data
I know, I just did the ultimate felony and used the Mouse. But stay tuned, I wouldn't usually do that for the use...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
(from @alexdima) Collapsed selection means a selection of length 0.
🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!