• 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 digibob, Today, 03:00 PM
        0 responses
        1 view
        0 likes
        Last Post digibob
        by digibob
         
        Started by yeshujbp, Today, 02:50 PM
        0 responses
        2 views
        0 likes
        Last Post yeshujbp  
        Started by tonynt, Today, 12:39 PM
        0 responses
        11 views
        0 likes
        Last Post tonynt
        by tonynt
         
        Started by Martyb, 06-13-2019, 05:14 AM
        10 responses
        78 views
        0 likes
        Last Post iq200
        by iq200
         
        Started by Erwin Beckers, 11-04-2018, 02:39 AM
        4 responses
        71 views
        2 likes
        Last Post brucerobinson  
        Working...
        X