Resharper: how to roll #region

  • Thread starter Thread starter mamin
  • Start date Start date
M

mamin

Is there any shortcut to roll #region in VisualStudio 2005 or in
Resharper ? Or maybe there's somewhere an option that causes that
after openinig cs file all regions are rolled?
 
What do you mean by "rolled" ? Do you mean Expanded?

In VS , If you select a bunch of code , you can right click it and hit
surround with , then select region. The shortcut for that is Ctrl +
K , S

When you right click the editor , theres an Outlining option with the
following sub options:
Toggle Outlinning Expansion //toggles only the selected outlining.
Toggle All outlinning
Stop Outlinning
Collapse to Definations // causes all regions to close
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top