roslyn icon indicating copy to clipboard operation
roslyn copied to clipboard

Enums don't nest in Document Outline depending on formatting

Open vsfeedback opened this issue 3 years ago • 0 comments

This issue has been moved from a ticket on Developer Community.


If enums are written in this style the members will appear on the same level as the enum in the Document Outline window instead of being children of it:

enum Test
   {  a, b  }

image

If they are written in this style they work correctly:

enum Test {
   a,
   b
   }

image


Original Comments

Feedback Bot on 12/13/2022, 09:09 PM:

(private comment, text removed)

Feedback Bot on 12/14/2022, 08:06 AM:

(private comment, text removed)


Original Solutions

(no solutions)

vsfeedback avatar Dec 14 '22 14:12 vsfeedback