Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds newline between comments and (all but the first) attribute. #1108

Closed
3 tasks
vsinha opened this issue Sep 4, 2020 · 0 comments · Fixed by #1109
Closed
3 tasks

Adds newline between comments and (all but the first) attribute. #1108

vsinha opened this issue Sep 4, 2020 · 0 comments · Fixed by #1109

Comments

@vsinha
Copy link

vsinha commented Sep 4, 2020

Issue created from fantomas-online

Code

namespace Foo

// First
[<someAnnotation>]

// Second
[<someAnnotation>]

// Third
[<someAnnotation>]

do ()

Result

namespace Foo

// First
[<someAnnotation>]

// Second

[<someAnnotation>]

// Third

[<someAnnotation>]

do ()

Problem description

This structure of a bunch of attributes occurs in our AssemblyInfo files

Extra information

  • The formatted result breaks by code.
  • The formatted result gives compiler warnings.
  • I or my company would be willing to help fix this.

Options

Fantomas Master at 09/04/2020 19:34:24 - de00dc4

Default Fantomas configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant