#region State=DataLoaded ************************
case State.DataLoaded:
Print("This is an instruction");
Print("This also is an instruction");
return;
#endregion
A complex Custom indicator script often contains fifteen or twenty regions.
#region
xxxxx
#endregion
Indicator development consists of the programmer working in each area and then compiling. A programmmer often modifies the code in a session then compiling and seeing the results. Fixing bugs and making desired changes one region at a time.
It would be really nice if the editior had a HotKey to collapse all regions in the editor. That way the programmer can find a session based on the region's "title" written after the #region precompile instruction and edit it, then colapse all regions and easily find and open , another region, edit it, compile.
I often find myself Saving my inwork script to a new name because when I do that, I open the new filename and the new file has all of the #regions closed. I could close each region one at a time but that can be a long tedious process.
Please consider adding this requested HotKey.
Comment