Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Editor: New Line on XML comments

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

    Editor: New Line on XML comments

    Hello,

    I have been trying every suggestion I found on StackOverFlow but none work. I want this functionality when writing comments:

    /// <summary>

    /// Line1

    /// Line2

    /// </summary>

    The shown text is Line1 Line2 and I want:

    Line1
    Line2

    Thanks for your help!





    #2
    Hello roblogic,

    When you write comments all of the text commented will show up. In what you provided you should see all 4 lines with /// before them. You may be able to use visual studio to display comments sin a different way by using its features or extensions. The general C# file you are viewing in the NinjaScript editor will otherwise show all commented lines. If you only wanted to show the two lines you need to delete the lines containing summary.


    Comment


      #3
      Thank you. I am referring to the text shown by Intellisense. If I type:

      /// <summary>
      /// Line1
      /// Line2
      /// </summary>​
      int myInt;

      When Typing myInt Intellisense will show Line1 Line2. And I would like to see Line2 not after but below Line1. Like this:
      Line1
      Line2

      So I am asking if there is any tag to add after Line1 to have this new line created. Hope now my question is clearer.

      Comment


        #4
        Hello,

        The intellepromt in the NinjaScript editor is very basic, for this type of commenting I would suggest using visual studio where you can further customize the comments/intellesense.

        Comment


          #5
          Thanks for your help. My intention is to see the object comments within the NT8 Editor. If I do it with the proper tags within VS and it's working fine in VS, it will still not be shown properly formatted in the NT8 Editor, right?

          Comment


            #6
            Hello roblogic,

            The intellepromt in the NinjaScript editor is very basic and is not the same as using visual studio. If you want to use comments in that way you would need to just use visual studio which has that feature. The NinjaScript editor will just display the three slash comments as you are seeing.


            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            45 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            21 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            31 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            50 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            42 views
            0 likes
            Last Post CarlTrading  
            Working...
            X