payload: {"action":"created","issue":{"url":"https://api.github.com/repos/ionide/ionide-vscode-fsharp/issues/1283","repository_url":"https://api.github.com/repos/ionide/ionide-vscode-fsharp","labels_url":"https://api.github.com/repos/ionide/ionide-vscode-fsharp/issues/1283/labels{/name}","comments_url":"https://api.github.com/repos/ionide/ionide-vscode-fsharp/issues/1283/comments","events_url":"https://api.github.com/repos/ionide/ionide-vscode-fsharp/issues/1283/events","html_url":"https://github.com/ionide/ionide-vscode-fsharp/issues/1283","id":543949008,"node_id":"MDU6SXNzdWU1NDM5NDkwMDg=","number":1283,"title":"Missing identition when using pattern matching via anonymous functions in a pipeline","user":{"login":"maxmuen","id":494803,"node_id":"MDQ6VXNlcjQ5NDgwMw==","avatar_url":"https://avatars3.githubusercontent.com/u/494803?v=4","gravatar_id":"","url":"https://api.github.com/users/maxmuen","html_url":"https://github.com/maxmuen","followers_url":"https://api.github.com/users/maxmuen/followers","following_url":"https://api.github.com/users/maxmuen/following{/other_user}","gists_url":"https://api.github.com/users/maxmuen/gists{/gist_id}","starred_url":"https://api.github.com/users/maxmuen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxmuen/subscriptions","organizations_url":"https://api.github.com/users/maxmuen/orgs","repos_url":"https://api.github.com/users/maxmuen/repos","events_url":"https://api.github.com/users/maxmuen/events{/privacy}","received_events_url":"https://api.github.com/users/maxmuen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-12-30T17:10:15Z","updated_at":"2019-12-30T17:10:17Z","closed_at":null,"author_association":"NONE","body":"When using `function` in a pipeline the actual patterns are not indented to the `function` keyword but instead are kept inline with it.\r\n\r\nI looked into [FormattingConventions.md](https://github.com/fsprojects/fantomas/blob/master/docs/FormattingConventions.md), but have not anything directly related to this issue. The best i could find was the rule \r\n\r\n> Pattern matching of anonymous functions, starting by function, are indented with respect to the function keyword:\r\n> ``` fsharpi\r\n> List.map (function\r\n>           | Abs(x, body) -> 1 + sizeLambda 0 body\r\n>           | App(lam1, lam2) -> sizeLambda (sizeLambda 0 lam1) lam2\r\n>           | Var v -> 1) lambdaList\r\n> ```\r\n\r\n**Example**\r\n```fsharp\r\nlet expected =\r\n    b\r\n    |> function\r\n       | Some c -> c\r\n       | None -> 0\r\n    |> id\r\n\r\nlet actual =\r\n    b\r\n    |> function\r\n    | Some c -> c\r\n    | None -> 0\r\n    |> id\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/ionide/ionide-vscode-fsharp/issues/comments/569736853","html_url":"https://github.com/ionide/ionide-vscode-fsharp/issues/1283#issuecomment-569736853","issue_url":"https://api.github.com/repos/ionide/ionide-vscode-fsharp/issues/1283","id":569736853,"node_id":"MDEyOklzc3VlQ29tbWVudDU2OTczNjg1Mw==","user":{"login":"open-collective-bot[bot]","id":46743201,"node_id":"MDM6Qm90NDY3NDMyMDE=","avatar_url":"https://avatars0.githubusercontent.com/in/23739?v=4","gravatar_id":"","url":"https://api.github.com/users/open-collective-bot%5Bbot%5D","html_url":"https://github.com/apps/open-collective-bot","followers_url":"https://api.github.com/users/open-collective-bot%5Bbot%5D/followers","following_url":"https://api.github.com/users/open-collective-bot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/open-collective-bot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/open-collective-bot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-collective-bot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/open-collective-bot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/open-collective-bot%5Bbot%5D/repos","events_url":"https://api.github.com/users/open-collective-bot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/open-collective-bot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-12-30T17:10:17Z","updated_at":"2019-12-30T17:10:17Z","author_association":"NONE","body":"Hey @maxmuen :wave:,\n\nThank you for opening an issue. We will get back to you as\nsoon as we can. Also, check out our OpenCollective and consider\nbacking us.\n\nhttps://opencollective.com/ionide\n\n> PS.: We offer `backer` support for all backers. Don't forget to add `backer` label when you start backing us :smile:\n"}}
other: {"actor":{"display_login":"open-collective-bot"}}