Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 Misplace, Today, 11:55 AM
                  1 response
                  7 views
                  0 likes
                  Last Post NinjaTrader_BrandonH  
                  Started by amousaber, Yesterday, 09:30 AM
                  1 response
                  23 views
                  0 likes
                  Last Post NinjaTrader_BrandonH  
                  Started by PopovDS, Yesterday, 11:17 AM
                  1 response
                  15 views
                  0 likes
                  Last Post NinjaTrader_BrandonH  
                  Started by Mr Bread, Yesterday, 12:01 PM
                  1 response
                  13 views
                  0 likes
                  Last Post NinjaTrader_BrandonH  
                  Started by suraj, Yesterday, 08:51 AM
                  1 response
                  13 views
                  0 likes
                  Last Post NinjaTrader_BrandonH  
                  Working...
                  X