fsprojects / fantomas

FSharp source code formatter
https://fsprojects.github.io/fantomas
Other
764 stars 190 forks source link

Xml doc on properties is missing #2909

Closed nojaf closed 1 year ago

nojaf commented 1 year ago

Issue created from fantomas-online

Code

module Meh

type Foo =
    member inline this.Item
        with 
            /// Xml doc?
            get (i:int,j: char) : string = ""
        and 
            /// Xml doc?
            set (i:int,j: char) (x:string) = printfn "%i %c" i j

Result

module Meh

type Foo =
    member this.Item
        with get (i: int, j: char): string = ""
        and set (i: int, j: char) (x: string) = printfn "%i %c" i j

Problem description

Please describe here the Fantomas problem you encountered. Check out our Contribution Guidelines.

Extra information

Options

Fantomas main branch at 2023-06-20T07:39:01Z - fc65e0ce06ce572fc8bba1ddca728b2b69fa4623

Default Fantomas configuration

Did you know that you can ignore files when formatting by using a .fantomasignore file? PS: It's unlikely that someone else will solve your specific issue, as it's something that you have a personal stake in.

nojaf commented 1 year ago

Nevermind image