• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.
    Shawn B.NinjaTrader Customer Service

    Comment


      #3
      Hello seefisch,

      Your inquiry has been added to feature request SFT-488.
      Shawn B.NinjaTrader Customer Service

      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 curious, Today, 02:17 AM
        0 responses
        1 view
        0 likes
        Last Post curious
        by curious
         
        Started by pmmkm, Yesterday, 11:13 PM
        0 responses
        3 views
        0 likes
        Last Post pmmkm
        by pmmkm
         
        Started by pulpiwapi, 03-04-2019, 11:18 PM
        11 responses
        149 views
        0 likes
        Last Post music_p13  
        Started by indy73, 06-25-2019, 10:52 PM
        3 responses
        20 views
        0 likes
        Last Post sledge
        by sledge
         
        Started by priceisking, Yesterday, 12:51 PM
        1 response
        23 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Working...
        X