Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Wish NT8 Editor had collapse-all #sessions HotKey

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Wish NT8 Editor had collapse-all #sessions HotKey

    Most developers divide their script into functional regions using compiler precompile instructions. For instance:

    #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.
    Last edited by seefisch; 01-02-2016, 05:54 PM.

    #2
    Hello seefisch,

    I have just submitted a feature request on your behalf. I will update this post with a id for this request if/when one is available.

    Comment


      #3
      Hello seefisch,

      Your inquiry has been added to feature request SFT-488.

      Comment


        #4
        This is a good idea, please put my vote in for this feature

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        556 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        324 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        545 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        547 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X