Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Shortcut for deleting a set of curly braces?

$
0
0

Hi guys,
VS.NET contain a lot of clever shortcuts for text-editing an auto-formatting. Does anyone know if it is possible to delete a curly brace AND it's matching brace with a single command?

The scenario could e.g. be: I have to delete an if-statement containing a lot of lines. I use jump-to-matching curly brace, delete that, then select all the lines up to the first curly. Then fix the indention, and then delete the first curly and the if-statement. Maybe there is a smarter way that could save me a few seconds now and then?

Best regards,
Torben Rohde
Denmark


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>