Open vsfeedback opened 1 year ago
I don't think we need an option here, since we could simply update the formatter to always apply the blank line.
Is it going to be implemented?
@sagarok We're happy to take community contributions, if this is something that you would find valuable to have :)
This issue has been moved from a ticket on Developer Community.
Currently, the default formatter for C# does not care whether you have a newline after a file scoped namespace or not.
I would like to have the option to make the first variant illegal or be automatically formatted on document format (Ctrl+K, Ctrl+D) to look like the second variant. Basically this inserts a new line after a file scoped namespace declaration.
Original Comments
Feedback Bot on 3/13/2023, 01:18 AM:
(private comment, text removed)