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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
- Switching between UI Documents with different Canvas sizes marks the UXML file as dirty
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!
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/
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.
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.
Lyje
Nov 21, 2013 16:52
Oops, meant to include link! http://answers.unity3d.com/questions/574075/monodevelop-401-unity-43-code-folding-bug.html
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.
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.
serpin
Nov 20, 2013 18:39
Yep, that's why I upgraded Unity, but kept Mono 2.8 =)