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. 979f41c3f844213866317d7eee54d345?d=mm

    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. 4227ddb6e7cadcf86f847ad3c7fa349a?d=mm

    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. 05991cfce220668e63ab8f5b76cccf43?d=mm

    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. 507be349618f5e6427523da0e62ab7aa?d=mm

    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. F9440774552a4e4217bc66136867b935?d=mm

    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. 8dfca3df00afba1ff11a3937c506d23b?d=mm

    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. D2474a87006383136d9b8567769da765?d=mm

    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.