Is it possible to replace to upper case in Visual Studio using "Find and Replace" dialog and RegEx (?) à la: . => Upper(.)
?
Say I have:
m_<b>a</b>blabla
I want:
_<b>A</b>blabla
Highlight the text you want to uppercase. Then hit CTRL + SHIFT + P to bring up the command palette. Then start typing the word "uppercase", and you'll see the Transform to Uppercase command.
Command Palette: CTRL + SHIFT + p (Mac: CMD + SHIFT + p ) type >transform pick upper/lower case and press enter.
To use a keyboard shortcut to change between lowercase, UPPERCASE, and Capitalize Each Word, select the text and press SHIFT + F3 until the case you want is applied.
Hold down the Shift and press F3 . When you hold Shift and press F3, the text toggles from sentence case (first letter uppercase and the rest lowercase), to all uppercase (all capital letters), and then all lowercase.
You can solve this by using Visual Studio temporary macros. This is a very powerful, flexible feature which I use all the time for performing repetitive code manipulations.
I'm assuming you're using the C# default key bindings here.
<m_:Ll
" - words that begin with m, underscore, then a lower case letter;If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With