{"action":"created","issue":{"url":"https://api.github.com/repos/Leopotam/vscode-csharpfixformat/issues/31","repository_url":"https://api.github.com/repos/Leopotam/vscode-csharpfixformat","labels_url":"https://api.github.com/repos/Leopotam/vscode-csharpfixformat/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/Leopotam/vscode-csharpfixformat/issues/31/comments","events_url":"https://api.github.com/repos/Leopotam/vscode-csharpfixformat/issues/31/events","html_url":"https://github.com/Leopotam/vscode-csharpfixformat/issues/31","id":273274485,"number":31,"title":"spaces.beforeParenthesis:false takes priority over spaces.afterParenthesis:true","user":{"login":"apkd","id":13803120,"avatar_url":"https://avatars2.githubusercontent.com/u/13803120?v=4","gravatar_id":"","url":"https://api.github.com/users/apkd","html_url":"https://github.com/apkd","followers_url":"https://api.github.com/users/apkd/followers","following_url":"https://api.github.com/users/apkd/following{/other_user}","gists_url":"https://api.github.com/users/apkd/gists{/gist_id}","starred_url":"https://api.github.com/users/apkd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apkd/subscriptions","organizations_url":"https://api.github.com/users/apkd/orgs","repos_url":"https://api.github.com/users/apkd/repos","events_url":"https://api.github.com/users/apkd/events{/privacy}","received_events_url":"https://api.github.com/users/apkd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-12T23:07:21Z","updated_at":"2017-11-13T08:48:49Z","closed_at":null,"author_association":"NONE","body":"## Environment data\r\n### C# FixFormat extension version:\r\n0.0.39\r\n### VsCode version:\r\n1.17.2\r\n\r\n## Steps to reproduce\r\nUse the following settings:\r\n```json\r\n\"csharpfixformat.style.spaces.beforeParenthesis\": false,\r\n\"csharpfixformat.style.spaces.afterParenthesis\": true\r\n```\r\nThis is intended to simulate the default VS2017 C# formatting.\r\n\r\n## Expected behavior\r\n```c#\r\nif (true) x = false;\r\nif (true) (x) = false;\r\nif (item is Renderer) (item as Renderer).enabled = false;\r\n```\r\n\r\n## Actual behavior\r\n```c#\r\nif (true) x = false;\r\nif (true)(x) = false;\r\nif (item is Renderer)(item as Renderer).enabled = false;\r\n```"},"comment":{"url":"https://api.github.com/repos/Leopotam/vscode-csharpfixformat/issues/comments/343851103","html_url":"https://github.com/Leopotam/vscode-csharpfixformat/issues/31#issuecomment-343851103","issue_url":"https://api.github.com/repos/Leopotam/vscode-csharpfixformat/issues/31","id":343851103,"user":{"login":"Leopotam","id":2340923,"avatar_url":"https://avatars1.githubusercontent.com/u/2340923?v=4","gravatar_id":"","url":"https://api.github.com/users/Leopotam","html_url":"https://github.com/Leopotam","followers_url":"https://api.github.com/users/Leopotam/followers","following_url":"https://api.github.com/users/Leopotam/following{/other_user}","gists_url":"https://api.github.com/users/Leopotam/gists{/gist_id}","starred_url":"https://api.github.com/users/Leopotam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leopotam/subscriptions","organizations_url":"https://api.github.com/users/Leopotam/orgs","repos_url":"https://api.github.com/users/Leopotam/repos","events_url":"https://api.github.com/users/Leopotam/events{/privacy}","received_events_url":"https://api.github.com/users/Leopotam/received_events","type":"User","site_admin":false},"created_at":"2017-11-13T08:48:49Z","updated_at":"2017-11-13T08:48:49Z","author_association":"OWNER","body":"@apkd \r\n> \"csharpfixformat.style.spaces.afterParenthesis\": true\r\nIts default value\r\n\r\n> \"csharpfixformat.style.spaces.beforeParenthesis\": false,\r\nDid you tried without this setting (true by default)? Looks like what you want."}}
{"actor":{"display_login":"Leopotam"}}