I know there is an extension for this in Visual Studio. However, is anyone aware of a similar extension or setting for Visual Studio Express editions?
Something that will allow me to collapse:
if (!string.IsNullOrEmpty(hotel.bg3))
{
colspan += 1;
TableCell c3 = new TableCell();
c3.Text = hotel.bg3.Replace(" ", "<br />");
c3.Style.Value = "border-color: #333333; border-width: 1pt; border-style: none none solid none; font-weight:bold;";
c3.HorizontalAlign = HorizontalAlign.Center;
row.Controls.Add(c3);
}
to:
if (!string.IsNullOrEmpty(hotel.bg3))
{...}
Thank you,
Mark
Select the code you want to collapse and hit Ctrl+M and then Ctrl+H. You can also right click on the selection and select Outlining > Hide Selection. To unhide, hit Ctrl+M and then Ctrl+U or right click on the collapsed code and select Outlining > Stop Hiding Current.
It's also worth noting that Express editions of Visual Studio don't support extensions at all.
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