Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add new line or paragraph in comments in Intellisense in Editor

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

    Add new line or paragraph in comments in Intellisense in Editor

    Hello,

    I tried most of the suggestions available online for C# but I always get all comments in a long line. For instance:

    /// <summary>

    /// <para> foo </para>

    /// <para> bar </para>

    /// <para> 2 other </para>

    /// </summary>

    It puts everything in one line. I would like to have foo in one line and below bar in another line. Is that possible? Thanks for your help.


    #2
    Hello roblogic,

    I'm not sure what you are asking. Are you asking if you can have multiple comments?
    Yes, you can have multiple comments.

    // foo
    // bar
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello,

      I mean the comments that are shown in Intellisense when you pop over the name of the object.

      /// <summary>

      /// <para> Line1 </para>

      /// <para> Line2 </para>

      /// <para> Line3 </para>

      /// </summary>
      public void DoSomething()
      {
      }

      When type DoSomething()

      Intellisense should show:
      Line1
      Line2
      Line3

      but instead it shows everything in one single Line:

      Line1 Line2 Line3

      Do you know how to do it in the Editor?

      Comment


        #4
        Hello roblogic,

        I'm not seeing a way to have this create new lines in the NinjaScript Editor Intelliprompt.

        I've sent a message to inform our development. If I receive a tracking ID for this behavior I will post the ID in this thread for future reference.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hello roblogic,

          I've received tracking ID# NTEIGHT-14587 for this behavior where the <para> tag does not create new lines.

          As new releases of NinjaTrader become available, check the release notes for this ID.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Hello ChelseaB,

            Thanks for the update.

            There is a little issue related to this one that is worth mentioning:

            While writing comments there are symbols that always or sometimes (depending on the symbol) makes the Intelliprompt not to show the comments.

            All logical operators appear to work fine (not greyed out) but they make all the comments not to show in Intelliprompt
            Comparison operators sometimes work, and sometimes don't.

            For instance:

            /// <summary>
            /// && or || (this will make any comment not to show up on Intelliprompt even though the comments are not greyed out)
            /// >= (this sometimes make the comment greyed out and sometimes don't)
            /// </summary>




            Comment


              #7
              Hello roblogic,

              I've passed your comments to our development.

              Let me know if there are any other items you find you would like reported.
              Chelsea B.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              670 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              379 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              111 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              575 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              582 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X