{"action":"opened","issue":{"url":"https://api.github.com/repos/codecadwallader/codemaid/issues/470","repository_url":"https://api.github.com/repos/codecadwallader/codemaid","labels_url":"https://api.github.com/repos/codecadwallader/codemaid/issues/470/labels{/name}","comments_url":"https://api.github.com/repos/codecadwallader/codemaid/issues/470/comments","events_url":"https://api.github.com/repos/codecadwallader/codemaid/issues/470/events","html_url":"https://github.com/codecadwallader/codemaid/issues/470","id":251452133,"number":470,"title":"Reorganizing options to insert blank lines between groups of Types in a class.","user":{"login":"cambiaresearch","id":20992509,"avatar_url":"https://avatars1.githubusercontent.com/u/20992509?v=4","gravatar_id":"","url":"https://api.github.com/users/cambiaresearch","html_url":"https://github.com/cambiaresearch","followers_url":"https://api.github.com/users/cambiaresearch/followers","following_url":"https://api.github.com/users/cambiaresearch/following{/other_user}","gists_url":"https://api.github.com/users/cambiaresearch/gists{/gist_id}","starred_url":"https://api.github.com/users/cambiaresearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cambiaresearch/subscriptions","organizations_url":"https://api.github.com/users/cambiaresearch/orgs","repos_url":"https://api.github.com/users/cambiaresearch/repos","events_url":"https://api.github.com/users/cambiaresearch/events{/privacy}","received_events_url":"https://api.github.com/users/cambiaresearch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-19T22:01:39Z","updated_at":"2017-08-19T22:01:39Z","closed_at":null,"body":"This is a feature request.\r\n\r\n### Environment\r\n- Visual Studio version: Visual Studio 2017 Professional\r\n- CodeMaid version: 10.4\r\n- Code language: C#\r\n\r\n### Description\r\n\r\nMost of the time I prefer not to use regions.  But I do like to see simple Types grouped together and separated by a single blank line.  For example, all class fields are together without blank lines between, but after the fields there's a blank line before the constructors.  The constructors are grouped together without blank lines between them, and after the constructors, there's one blank line before, say, the Properties.  This, to me, is one of the best visual layouts for a class.\r\n\r\n### Steps to recreate and current behavior\r\n\r\nCreate a C# class with various types: private fields, public constructors, public properties, private properties, public methods, private methods.  Then let code maid reorganize.  Given my current settings all types (fields, constructors, properties, methods, etc) will be grouped together without blank lines between them).  As far as I can tell, CodeMaid does not have an option to insert blank lines between groups. I don't want regions most of the time and the blank line is sufficient.\r\n\r\nThis feature could be added to the Reorganizing menu and could be similar to Cleaning->Insert.  It could have the following blocks:\r\n* Insert blank line padding before type group:\r\n* Insert blank line padding after type group:\r\n\r\nEach option would then have a list of the type groups to select or unselect.\r\n\r\nThere is still the question of access modifiers also and I'm not sure the best way to handle that without listing them all, but it gets a bit verbose (private fields, protected fields, public fields, internal fields, private constructors, protected constructors...yada yada).  I don't know, you could ignore access modifiers as a first pass.  I do, however, like to see a line between public and private properties and methods, etc. so if this could be done it would great.\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"cambiaresearch"}}