Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Editor section collapse

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

    Editor section collapse

    Is there any way to keep the sections in the Editor collapsed or expanded?
    Or a keystroke sequence (like in Visual Studio) to quickly expand and contract all of them?
    I would rather open an indicator for editing with everything collapsed or be able to collapse them other than going to each one. Also, noticed that after each compile, they all go back to the way they were.

    Suggestions, comments?

    Thanks!

    #2
    Hello,

    I do not think this is possible; however I will have someone confirm this assumption on Monday. Thank you for your patience.
    DenNinjaTrader Customer Service

    Comment


      #3
      Wow, which Monday did you mean.

      I second this. It would be really useful to have an F-key or similar for expand all / collapse all in the editor. I regularly have to slowly go through large strategies doing each method manually.

      Comment


        #4
        Dave, thanks for some humor on the Tuesday morning. I've just sent in the request as a suggestion - I should have a tracking number here in a bit.
        AustinNinjaTrader Customer Service

        Comment


          #5
          Thanks Austin,

          I don't suppose you could give it the tracking number it would have got in March 2009 could you ;-) ;-)

          Comment


            #6
            We recently started the public tracking numbers, so unfortunately no. You do have the newest tracking number (#1081) now though.
            AustinNinjaTrader Customer Service

            Comment


              #7
              Come on guys, three years and counting. This should be a fairly easy one right?

              Comment


                #8
                Is there anyway to collapse all the comments simultaneously? My code is growing quite large and I usually have to collapse each section/method manually. Its getting very annoying now

                Comment


                  #9
                  Hello MadScientist,

                  Thank you for writing in.

                  Unfortunately, there is no way to collapse all comment blocks / methods at the same time.

                  However, when compiling code, all regions will be collapsed. What can be done is placing your comment blocks / methods in regions.

                  Example:
                  Code:
                  #region Some Method
                  public void SomeMethod()
                  {
                  }
                  #endregion
                  Please, let us know if we may be of further assistance.
                  Zachary G.NinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by michelz, 02-18-2025, 08:30 AM
                  18 responses
                  370 views
                  0 likes
                  Last Post neveral0n3  
                  Started by laketrader, 03-10-2025, 07:20 AM
                  4 responses
                  34 views
                  0 likes
                  Last Post laketrader  
                  Started by owensd, 04-21-2024, 11:34 PM
                  19 responses
                  190 views
                  0 likes
                  Last Post Leeroy_Jenkins  
                  Started by bokorb, 03-14-2025, 02:45 PM
                  2 responses
                  26 views
                  0 likes
                  Last Post bokorb
                  by bokorb
                   
                  Started by Schools, 03-14-2025, 03:32 PM
                  1 response
                  26 views
                  0 likes
                  Last Post Schools
                  by Schools
                   
                  Working...
                  X