Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

To group code lines together

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

    To group code lines together

    Hello. How to group code lines together? To get opportunity to click on "+" near lines numbers and to open or close group of lines.

    #2
    Hello Alex,

    Thank you for your post.

    You can use the #region and #endregion for this item. For example:
    Code:
    			#region SayHi
    			Print("Hello there!");
    			#endregion
    This will show as just SayHi when collapsed.

    For information on #region and #endregion please visit the following link: http://msdn.microsoft.com/en-us/library/9a1ybwek.aspx

    Please let me know if I may be of further assistance.

    Comment


      #3
      What about "///" with "<summary>". I saw such in samples code.

      Comment


        #4
        Hello Alex,

        Thank you for your response.

        That will work for comments if you wish to collapse them.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        221 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        136 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        150 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        236 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        193 views
        0 likes
        Last Post CarlTrading  
        Working...
        X