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 NullPointStrategies, Yesterday, 05:17 AM
            0 responses
            58 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            133 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            73 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            45 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            50 views
            0 likes
            Last Post TheRealMorford  
            Working...
            X