SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Regions Only, Folding (Collapse, Expand)

Last post 04-23-2011 12:35 PM by qiuyinffy. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 04-06-2011 3:43 PM

    • Zap
    • Not Ranked
    • Joined on 04-06-2011
    • Posts 2

    Regions Only, Folding (Collapse, Expand)

    Hello,

    I'm a Visual Studio user and have recently started using SharpDevelop.

    I'm quite fund of a feature in Visual Studio that allows one to collapse and expand 'regions only' while leaving classes and functions alone - ExpandAllRegions, CollapseAllRegions, ToggleParentRegion - by means of this "Better Keyboard Support for #region ... #endregion" macro. This feature is a very convenient time saver, especially when the size of a solution begins to grow.

    I've looked through this forum and elsewhere on the WEB, but there doesn't seem to be something similar for SharpDevelop.

    How can SharpDevelop be made capable of this?

  • 04-23-2011 2:49 AM In reply to

    • Zap
    • Not Ranked
    • Joined on 04-06-2011
    • Posts 2

    Re: Regions Only, Folding (Collapse, Expand)

    Is this forum dead or what?

    Surely 'region only' folding is not such an exceptional concept, considering that we are now on the 4th version of SharpDevelop!

  • 04-23-2011 12:23 PM In reply to

    Re: Regions Only, Folding (Collapse, Expand)

    SharpDevelop currently only supports expanding/collapsing all folds or the currently selected fold. To support expanding/collapsing regions would require some new functionality to be implemented. You could do this by creating an addin and using the existing ToggleAllFoldings and ToggleFolding classes for reference.

  • 04-23-2011 12:35 PM In reply to

    Re: Regions Only, Folding (Collapse, Expand)

    That's good to hear, hopefully the process isn't too painful. Cartier Love Rings
    Cartier Jewelry

Page 1 of 1 (4 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.