{"action":"created","issue":{"url":"https://api.github.com/repos/codecadwallader/codemaid/issues/81","labels_url":"https://api.github.com/repos/codecadwallader/codemaid/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/codecadwallader/codemaid/issues/81/comments","events_url":"https://api.github.com/repos/codecadwallader/codemaid/issues/81/events","html_url":"https://github.com/codecadwallader/codemaid/issues/81","id":58749590,"number":81,"title":"does not insert regions for VS 2013 Update 4","user":{"login":"mkamoski","id":795941,"avatar_url":"https://avatars.githubusercontent.com/u/795941?v=3","gravatar_id":"","url":"https://api.github.com/users/mkamoski","html_url":"https://github.com/mkamoski","followers_url":"https://api.github.com/users/mkamoski/followers","following_url":"https://api.github.com/users/mkamoski/following{/other_user}","gists_url":"https://api.github.com/users/mkamoski/gists{/gist_id}","starred_url":"https://api.github.com/users/mkamoski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkamoski/subscriptions","organizations_url":"https://api.github.com/users/mkamoski/orgs","repos_url":"https://api.github.com/users/mkamoski/repos","events_url":"https://api.github.com/users/mkamoski/events{/privacy}","received_events_url":"https://api.github.com/users/mkamoski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"codecadwallader","id":3823772,"avatar_url":"https://avatars.githubusercontent.com/u/3823772?v=3","gravatar_id":"","url":"https://api.github.com/users/codecadwallader","html_url":"https://github.com/codecadwallader","followers_url":"https://api.github.com/users/codecadwallader/followers","following_url":"https://api.github.com/users/codecadwallader/following{/other_user}","gists_url":"https://api.github.com/users/codecadwallader/gists{/gist_id}","starred_url":"https://api.github.com/users/codecadwallader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecadwallader/subscriptions","organizations_url":"https://api.github.com/users/codecadwallader/orgs","repos_url":"https://api.github.com/users/codecadwallader/repos","events_url":"https://api.github.com/users/codecadwallader/events{/privacy}","received_events_url":"https://api.github.com/users/codecadwallader/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-02-24T14:56:54Z","updated_at":"2015-02-25T01:44:23Z","closed_at":"2015-02-25T01:44:23Z","body":"Please help.\r\n\r\nCodeMaid 0.7.5 does not insert regions for VS 2013 Update 4. I run cleanup for all code. No regions are inserted. \r\n\r\nI have CodeMaid set as follows, \r\n\r\n(1). I have set >> Configuration >> Cleaning, >> Remove >> Regions >> Remove Regions >> Empty Regions = Selected. \r\n\r\n(2). I also have set >> Configuration >> Reorganizing >> Regions >> Insert >> Insert New Regions = Selected.  \r\n\r\n(3). I also have set >> Configuration >> Reorganizing >> Regions >> Remove >> Remove Existing Regions = Selected.\r\n\r\nI have tried various permutations of (1) and (2) and (3) above and none seem to work.\r\n\r\nHere is what I want-- I want CodeMaid to handle ALL region creation and management. Put them in when they are not there and put the right things inside them. Also remove them when they are empty. Also remove any hand-made/custom regions that were not created by CodeMaid. I cannot seem to achieve this with any combination of settings. Furthermore, this used to work for me with a previous version of CodeMaid and VS 2012. \r\n\r\nIs this a bug? Or what is the proper combination of settings to use to get this to work?\r\n\r\nPlease advise. \r\n\r\nThanks.\r\n\r\n-- Mark Kamoski \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/codecadwallader/codemaid/issues/comments/75889762","html_url":"https://github.com/codecadwallader/codemaid/issues/81#issuecomment-75889762","issue_url":"https://api.github.com/repos/codecadwallader/codemaid/issues/81","id":75889762,"user":{"login":"codecadwallader","id":3823772,"avatar_url":"https://avatars.githubusercontent.com/u/3823772?v=3","gravatar_id":"","url":"https://api.github.com/users/codecadwallader","html_url":"https://github.com/codecadwallader","followers_url":"https://api.github.com/users/codecadwallader/followers","following_url":"https://api.github.com/users/codecadwallader/following{/other_user}","gists_url":"https://api.github.com/users/codecadwallader/gists{/gist_id}","starred_url":"https://api.github.com/users/codecadwallader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecadwallader/subscriptions","organizations_url":"https://api.github.com/users/codecadwallader/orgs","repos_url":"https://api.github.com/users/codecadwallader/repos","events_url":"https://api.github.com/users/codecadwallader/events{/privacy}","received_events_url":"https://api.github.com/users/codecadwallader/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T01:44:23Z","updated_at":"2015-02-25T01:44:23Z","body":"I've been unable to reproduce the issue using the settings and solution you sent to me, but I think I know what's the problem.  Regions are only inserted/removed when reorganization runs, not when cleanup runs.  If you want to \"chain\" reorganization to run when cleanup all code is executed, then you'll need to turn on the CodeMaid option at Reorganization->General->\"Run reorganize at start of cleanup\".  This option is off by default, but one you had probably enabled in VS2012.\r\n\r\nIf it's any consolation, in the next major release we're going to have shared settings across Visual Studio versions.  So it likely wouldn't happen again on the VS2013->VS2015 upgrade.\r\n\r\nI'm closing the issue assuming that is the problem, but if not please comment and we'll re-open to investigate further."}}