次のコードは、それぞれでフォーマット警告をトリガーしますlet
(「誤ったインデントの可能性」)。
module UtilTests =
[<Test>] let simpleWithNth ()= true |> should be True
[<Test>] let negIndex () = true |> should be True
[<Test>] let tooBigIndex () = true |> should be True
[<Test>] let lastIndex () = true |> should be True
以下はしません:
module UtilTests =
[<Test>] let simpleWithNth ()= true |> should be True
[<Test>] let negIndex () = true |> should be True
[<Test>] let tooBigIndex () = true |> should be True
[<Test>] let lastIndex () = true |> should be True
let
それぞれがその上のものよりもインデントされているのはなぜですか?(Visual Studio 2012を自動フォーマットする方法はありますか?)