• 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

Shortcut for collapsing code blocks

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

    Shortcut for collapsing code blocks

    Is there a way or shortcut to collaps all codeblocks in the NT code editor?

    (Ctrl + M + O as in VS doesn´t work)

    Kindly, Fredrik

    #2
    Hi FREEN, there would unfortunately not be such a command available, however the next major platform update will enhance the coding experience via VS as editor.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks Bertrand. There´s no problem running VS instead, but what about compiling? I haven´t tried but I guess VS doesn´t know about the additional work of the NT compilator? So "build" wouldn´t do the job, would it?

      If so, is there a way to run the NT compilator from VS?
      Last edited by FREEN; 10-08-2014, 02:48 PM.

      Comment


        #4
        Hello FREEN,

        Thank you for your response.

        Debug Mode allows you to utilize the NinjaTrader compiler but debug the code through Visual Studio.

        You can find information on debugging through Visual Studio at the following link: http://www.ninjatrader.com/support/h..._debugging.htm

        You can also find a video on debugging in Visual Studio at the following link: http://www.ninjatrader.com/support/f...8&postcount=11
        Patrick H.NinjaTrader Customer Service

        Comment


          #5
          Thanks! Wrapping code in a region saved me the hassle of closing the clutter of multiple methods and codeblocks each time compiling.

          #region MyRegion

          ..code to hide...

          #endregion
          Last edited by FREEN; 10-11-2014, 05:12 PM.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by third monkey, Today, 06:33 AM
          0 responses
          1 view
          0 likes
          Last Post third monkey  
          Started by xfbrq, Today, 05:41 AM
          0 responses
          3 views
          0 likes
          Last Post xfbrq
          by xfbrq
           
          Started by alcmvd, Today, 03:02 AM
          0 responses
          4 views
          0 likes
          Last Post alcmvd
          by alcmvd
           
          Started by Dragon989, 11-02-2018, 04:59 PM
          2 responses
          65 views
          0 likes
          Last Post krimkrim  
          Started by Bikotoru, Yesterday, 04:34 PM
          0 responses
          13 views
          0 likes
          Last Post Bikotoru  
          Working...
          X