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

AssemblyInfo.fs attributes get squashed together #796

Closed
Smaug123 opened this issue Apr 27, 2020 · 0 comments · Fixed by #804
Closed

AssemblyInfo.fs attributes get squashed together #796

Smaug123 opened this issue Apr 27, 2020 · 0 comments · Fixed by #804

Comments

@Smaug123
Copy link
Contributor

Issue created from fantomas-online

AssemblyInfo.fs [<assembly>] attributes are all concatenated; I was not expecting the following code to change format except possibly the whitespace inside the attribute (which I don't have a strong opinion on).

Code

namespace Foo.AssemblyInfo

open System.Reflection
open System.Runtime.CompilerServices
open System.Runtime.InteropServices

[<assembly: AssemblyTitle("Foo")>]
[<assembly: AssemblyDescription("")>]

do
  ()

Result

namespace Foo.AssemblyInfo

open System.Reflection
open System.Runtime.CompilerServices
open System.Runtime.InteropServices

[<assembly:AssemblyTitle("Foo")>][<assembly:AssemblyDescription("")>]

do ()

Options

Fantomas Next - 4.0.0-alpha-001-1/1/1990

Name Value
IndentSpaceNum 4
PageWidth 120
SemicolonAtEndOfLine false
SpaceBeforeParameter true
SpaceBeforeLowercaseInvocation true
SpaceBeforeUppercaseInvocation false
SpaceBeforeClassConstructor false
SpaceBeforeMember false
SpaceBeforeColon false
SpaceAfterComma true
SpaceBeforeSemicolon false
SpaceAfterSemicolon true
IndentOnTryWith false
SpaceAroundDelimiter true
MaxIfThenElseShortWidth 40
MaxInfixOperatorExpression 50
MaxRecordWidth 40
MaxArrayOrListWidth 40
MaxLetBindingWidth 40
MultilineBlockBracketsOnSameColumn false
NewlineBetweenTypeDefinitionAndMembers false
StrictMode false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant