I want something similar to this post but with Visual Studio. This would be very helpful when editing XAML, XML, or HTML.
For instance:
<StackPanel>
<Button>I'm A Button</Button>
</StackPanel>
If I start changing the 'StackPanel' tag, I want to automatically change the end tag to match (say if I switch it to a 'Grid' instead). I figure I could write a macro to do it, but I want to use a native approach first if available.
You've probably already discovered the search shortcut Ctrl-F, but did you know Visual Studio Code has different types of find features built-in? Ctrl + F as mentioned above this shortcut will find whatever you search for in the current file.
If you want to select a line or lines you can use the combination of ctrl + E then U . This combination also works for uncommenting a complete line or lines.
CodeRush and Refactor pro from devexpress will do this for you as well as a ton of other cool stuff. It is a paid for product though I'm afraid - I am not aware of anything free that does this.
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