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 collapse expand behavior store info

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

    Editor collapse expand behavior store info

    Hello, please I cannot find info about an editor behavior.
    In my strategy I use to hide (collapse) the code of all functions.
    When I open the editor or start with NT the editor reset the collapse and show all code expanded. All times I need a large time to close all.
    Is there a way to store the last configuration of the editor about it?

    Many thanks. Best regards

    Click image for larger version

Name:	editor_nt_1.png
Views:	72
Size:	35.3 KB
ID:	1254380

    #2
    Hello ClauTrade,

    Thanks for your post.

    The​re is no option for saving the expanded/collapsed sections of code in the NinjaScript Editor window at this time.

    I have submitted this feature request to the Development team and added your vote. This request is being tracked under the number SFT-5958.

    As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted on the Release Notes page of the Help Guide.

    Release Notes — https://ninjatrader.com/support/help...ease_notes.htm
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      ClauTrade You can use Hot Keys for NinjaScript Editor to do region collapse/expand: Tools > Hot Keys > NinjaScript Editor

      Hope that helps.

      Thanks.
      Multi-Dimensional Managed Trading
      jeronymite
      NinjaTrader Ecosystem Vendor - Mizpah Software

      Comment


        #4
        jeronymite's suggestion is a good one.

        Also, from a more distant perspective, if you commonly use idioms like expanding and contracting the + you might be more comfortable in Visual Studio. If you haven't tried it, you really should.

        Although an SFT may be created for this to add to the burn pile, it is vanishingly unlikely that they will add this any time soon, because it's a feature of the ActiPro component used to provide the NinjaScript Editor, and that component itself is many versions out of date. The most reasonable path to getting these kinds of features would be that they upgrade the component, and then do this, but I wouldn't hold your breath on that just now. Understandably, they have to prioritize, and while I would like it if they implemented this feature too, I will not be surprised if this is far down the line given the knowable priorities.

        Yet, you could start using Visual Studio today and have access to lots of things of this ilk immediately.
        Last edited by QuantKey_Bruce; 06-05-2023, 05:15 AM.
        Bruce DeVault
        QuantKey Trading Vendor Services
        NinjaTrader Ecosystem Vendor - QuantKey

        Comment


          #5
          Many thanks to all for the suggestions. I work in it and I'll try to find the best.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by mmenigma, Today, 02:22 PM
          0 responses
          1 view
          0 likes
          Last Post mmenigma  
          Started by frankthearm, Today, 09:08 AM
          9 responses
          34 views
          0 likes
          Last Post NinjaTrader_Clayton  
          Started by NRITV, Today, 01:15 PM
          2 responses
          9 views
          0 likes
          Last Post NRITV
          by NRITV
           
          Started by maybeimnotrader, Yesterday, 05:46 PM
          5 responses
          26 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by quantismo, Yesterday, 05:13 PM
          2 responses
          20 views
          0 likes
          Last Post quantismo  
          Working...
          X