Skip to content

C# Insert spaces within Square brackets doesn't apply to attributes #69781

@vsfeedback

Description

@vsfeedback

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


When setting the "Insert spaces within square brackets" to true this does not effect attributers and there is no other way to effect how attributes are formatted they still remove any spaces when auto formatting is applied.

i.e.
[ MethodImpl( MethodImplOptions.AggressiveInlining ) ]
on paste becomes
[MethodImpl( MethodImplOptions.AggressiveInlining )]


Original Comments

Feedback Bot on 8/30/2023, 09:15 PM:

(private comment, text removed)


Original Solutions

(no solutions)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions