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 sjsj2732, Yesterday, 04:31 AM
        0 responses
        22 views
        0 likes
        Last Post sjsj2732  
        Started by NullPointStrategies, 03-13-2026, 05:17 AM
        0 responses
        280 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        279 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        130 views
        1 like
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        90 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Working...
        X