codecadwallader / codemaid

CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
http://www.codemaid.net
GNU Lesser General Public License v3.0
1.88k stars 353 forks source link

CodeMaid isn't removing regions even though "Remove Regions" is checked. #991

Closed madman29729 closed 1 year ago

madman29729 commented 1 year ago

Visual Studio 2022 Community Edition Version: 17.5.2 CodeMaid Version: 12.0.300

I don't know why but CodeMaid just started putting regions inside of regions. it's not removing them. I have both "Remove Regions" & "Insert New Regions" checked.

happing when reorganizing the document!

Screenshot 2023-03-20 040543

madman29729 commented 1 year ago

I may have figured out why:

I found a region within code "#region" without a description, with an "#endregion Methods" which I'm assuming made the plugin trip out!