{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/8224","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/8224/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/8224/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/8224/events","html_url":"https://github.com/dotnet/roslyn/issues/8224","id":129442926,"number":8224,"title":"Visual Studio 2015 C# code format issue","user":{"login":"JoeBug","id":16937933,"avatar_url":"https://avatars.githubusercontent.com/u/16937933?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeBug","html_url":"https://github.com/JoeBug","followers_url":"https://api.github.com/users/JoeBug/followers","following_url":"https://api.github.com/users/JoeBug/following{/other_user}","gists_url":"https://api.github.com/users/JoeBug/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeBug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeBug/subscriptions","organizations_url":"https://api.github.com/users/JoeBug/orgs","repos_url":"https://api.github.com/users/JoeBug/repos","events_url":"https://api.github.com/users/JoeBug/events{/privacy}","received_events_url":"https://api.github.com/users/JoeBug/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"CyrusNajmabadi","id":4564579,"avatar_url":"https://avatars.githubusercontent.com/u/4564579?v=3","gravatar_id":"","url":"https://api.github.com/users/CyrusNajmabadi","html_url":"https://github.com/CyrusNajmabadi","followers_url":"https://api.github.com/users/CyrusNajmabadi/followers","following_url":"https://api.github.com/users/CyrusNajmabadi/following{/other_user}","gists_url":"https://api.github.com/users/CyrusNajmabadi/gists{/gist_id}","starred_url":"https://api.github.com/users/CyrusNajmabadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyrusNajmabadi/subscriptions","organizations_url":"https://api.github.com/users/CyrusNajmabadi/orgs","repos_url":"https://api.github.com/users/CyrusNajmabadi/repos","events_url":"https://api.github.com/users/CyrusNajmabadi/events{/privacy}","received_events_url":"https://api.github.com/users/CyrusNajmabadi/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/14","html_url":"https://github.com/dotnet/roslyn/milestones/1.3","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/14/labels","id":1403395,"number":14,"title":"1.3","description":"","creator":{"login":"ManishJayaswal","id":9527491,"avatar_url":"https://avatars.githubusercontent.com/u/9527491?v=3","gravatar_id":"","url":"https://api.github.com/users/ManishJayaswal","html_url":"https://github.com/ManishJayaswal","followers_url":"https://api.github.com/users/ManishJayaswal/followers","following_url":"https://api.github.com/users/ManishJayaswal/following{/other_user}","gists_url":"https://api.github.com/users/ManishJayaswal/gists{/gist_id}","starred_url":"https://api.github.com/users/ManishJayaswal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManishJayaswal/subscriptions","organizations_url":"https://api.github.com/users/ManishJayaswal/orgs","repos_url":"https://api.github.com/users/ManishJayaswal/repos","events_url":"https://api.github.com/users/ManishJayaswal/events{/privacy}","received_events_url":"https://api.github.com/users/ManishJayaswal/received_events","type":"User","site_admin":false},"open_issues":638,"closed_issues":67,"state":"open","created_at":"2015-11-10T00:15:43Z","updated_at":"2016-04-04T23:45:24Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2016-01-28T12:51:13Z","updated_at":"2016-04-05T09:08:43Z","closed_at":null,"body":"In VS 2015 options under Text Editor > C# > Tabs I set Indenting to Smart and checked option Keep tabs.\r\n\r\nNow if I auto-format code, everything is formated as expected.\r\nBut the space before a comment is changed to spaces if there were tabs:\r\n\r\n[Screenshot](http://i.stack.imgur.com/zM0wx.png)\r\n\r\nIn previous versions of Visual Studio, tabs stays on auto code formatting.\r\nThere seems to be no option to change that behavior.\r\n\r\nThis is not an issue of beautification - this is an issue because auto-formated files are now marked as different with our tool chain."},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/205721436","html_url":"https://github.com/dotnet/roslyn/issues/8224#issuecomment-205721436","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/8224","id":205721436,"user":{"login":"JoeBug","id":16937933,"avatar_url":"https://avatars.githubusercontent.com/u/16937933?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeBug","html_url":"https://github.com/JoeBug","followers_url":"https://api.github.com/users/JoeBug/followers","following_url":"https://api.github.com/users/JoeBug/following{/other_user}","gists_url":"https://api.github.com/users/JoeBug/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeBug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeBug/subscriptions","organizations_url":"https://api.github.com/users/JoeBug/orgs","repos_url":"https://api.github.com/users/JoeBug/repos","events_url":"https://api.github.com/users/JoeBug/events{/privacy}","received_events_url":"https://api.github.com/users/JoeBug/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T09:08:43Z","updated_at":"2016-04-05T09:08:43Z","body":"> For me as user this is completly mysterious and on top I have no chance to avoid this.\r\nThat's why I struggle with it.\r\n\r\nBecause auto-format changes all existing tabs with spaces, a LOT of lines marked as different when comparing source files with previous ones."}}