Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

94

Found in

4.3.0f4

Issue ID

576429

Regression

Yes

MonoDevelop 4.0.1 doesn't allow folding of classes/methods

CodeEditors

-

To reproduce:
1. Create a new project
2. Create a new script
3. Open it in MonoDevelop
4. Notice that there are no foldable sections

Comments (8)

  1. austint30

    Aug 13, 2015 21:48

    I know. The + and - things are gone. All of my code is unfolded and it makes it hard to keep things organized!

  2. lukaszunity

    Jul 29, 2015 10:15

    This issue will be fixed once we upgrade to MonoDevelop 5.9

    Here are some details on how to use Xamarin Studio 5.9 with Unity today.

    http://forum.unity3d.com/threads/unity-add-ins-for-monodevelop-xamarin-studio-5-9.329880/

  3. Lohoris2

    Aug 28, 2014 08:17

    The easies workaround I've found is, after you save, to hit backspace and undo: this will not alter the file, since you do something and undo it, and will re-enable folding.

    Sure, you will still have lost the _current_ folding, but at least you can re-fold everything.

  4. chillersanim

    May 16, 2014 11:27

    I had that bug also sometimes, but for me it helped when I switched to another script (in another tab of MonoDevelop) and switched back. That did the job. Normaly the folding disapeared when I saved the script.

  5. Lyje

    Nov 21, 2013 16:52

    Posted about this on Unity Answers before the issue tracker was made public. There's a bit of discussion and a temporary workaround, but this issue is hugely frustrating as I'm a compulsive saver and have to re-fold my code every time I do so.

  6. ThriKreen

    Nov 20, 2013 20:53

    Had this happen to me too, regardless of what settings for folding are set. It seems to happen when I have an open section, since obviously I'm still working on it, but it gets confused upon a save - until I fix it up and hit save again or something.

  7. serpin

    Nov 20, 2013 18:39

    Yep, that's why I upgraded Unity, but kept Mono 2.8 =)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.