(Move this to external tools, if appropriate, but hey, it’s the new default editor, no?)
I’m using the newest version of MD and I have code folding turned on. What I notice is that when the code is folded, it obscures the name of the function/method.
This makes it nice and compact!
But it also makes it a bear, no - downright impossible - to read!
Is there a way to customize where if folds? Like this mock example?
Or is this something that could be looked into by UT?
I think this has to do with an intermittent behaviour with MD2.4 and Unity.js.
What I’m seeing is when a Unity.js script is opened for the first time in MD2.4 and code folding is active, MD offers code folding for all of the functions (but ignores region markers - eg: #region Initialization - #endregion*). However, if the Unity.js code is folded, it folds as described above - to the “function” text, obscuring the function name. After some time (restarts, saves, it’s unclear), MD no-longer offers code folding at all for that script. Sometimes by closing and reopening the script, or closing the script and restarting MD, the ability to (poorly) fold code returns for that script. Sometimes it doesn’t.
C# seems to work as expected.
What is the official stance by UT on Unity.js, Monodevelop and CodeFolding?
*Unity.js doesn’t seem to support the syntax for regions either. I caused compile errors in Unity 3.0rc1