{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/15406","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/15406/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/15406/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/15406/events","html_url":"https://github.com/dotnet/roslyn/issues/15406","id":190590081,"number":15406,"title":"Feature request: Allow me to specify a desired max-column that code shoudl be wrapped against.","user":{"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},"labels":[{"id":166377917,"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-20T22:51:19Z","updated_at":"2016-11-21T19:41:58Z","closed_at":null,"body":"I'd like this both for code and for comments.\r\n\r\nRight now there's nothing that helps me when code gets really long.  This is problematic with features like \"implement interface\" where an interface method might end up super long, making it tough to use in the IDE and in PRs.\r\n\r\nAfter generation, i have to go in and manually wrap things.  I'd like to have a preference (ideally project scoped) that says what column we try not to go past.  Features like formatting/generation should attempt to respect this wrapping column when possible when they have items they can wrap.  For example, method parameters would be a suitable wrapping entity.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/262044909","html_url":"https://github.com/dotnet/roslyn/issues/15406#issuecomment-262044909","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/15406","id":262044909,"user":{"login":"Pilchie","id":312835,"avatar_url":"https://avatars.githubusercontent.com/u/312835?v=3","gravatar_id":"","url":"https://api.github.com/users/Pilchie","html_url":"https://github.com/Pilchie","followers_url":"https://api.github.com/users/Pilchie/followers","following_url":"https://api.github.com/users/Pilchie/following{/other_user}","gists_url":"https://api.github.com/users/Pilchie/gists{/gist_id}","starred_url":"https://api.github.com/users/Pilchie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pilchie/subscriptions","organizations_url":"https://api.github.com/users/Pilchie/orgs","repos_url":"https://api.github.com/users/Pilchie/repos","events_url":"https://api.github.com/users/Pilchie/events{/privacy}","received_events_url":"https://api.github.com/users/Pilchie/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T19:41:58Z","updated_at":"2016-11-21T19:41:58Z","body":"For reference, I implemented this back in VS2005, but we ended up pulling it out.  It ends up leading to another explosion of options for how to do the wrapping:\r\n\r\n* 1 parameter per line, or as many as fit\r\n* First parameter on the same line as the method or not?\r\n* What is the indentation of the wrapped line\r\n* Should expressions be wrapped before or after operators,\r\n* etc.\r\n\r\nI'm not saying it's impossible, just that it's not nearly as simple as a single option for that the line length should be."}}
{"actor":{"display_login":"Pilchie"}}