CodeMaid v0.7.2 (Regions, love ’em or hate ’em edition) released!

CodeMaid v0.7.2 is now available on Visual Studio Gallery and BitBucket.  There are a lot of strong opinions out there about regions as proven by the top two backlog requests being adding them and removing them respectively.  Whether you love ’em or hate ’em, we’ve got you covered. 🙂

#region New Features

Card 68 – New “Remove Region” command

If you have highlighted an area of code, removes the selected regions.Remove Selected Regions

Otherwise if your cursor is on a #region or #endregion tag, removes the region under the cursor.

Remove Current Region

Otherwise all regions within the document will be removed.

Remove All Regions

Card 116 – Auto-remove regions during cleanup

By default empty regions will be removed.  You can crank this up to removing all regions, or dial it down to none.Auto Remove Regions

Card 163 – Reorganization option added to sort by accessibility before type (off by default)

Reorganization Primary Ordering

Card 87 – Auto-generate regions during reorganization

There’s a new Types configuration page where you can:

  • Change the order of types (e.g. place fields at the end of the file)
  • Group types together (e.g. Constructors + Destructors)
  • Rename types (e.g. change Fields to Member Variables)
  • Note: These apply to reorganization’s base sorting logic

Types Configuration

And a new Regions configuration page where you can:

  • Remove existing regions that do not conform to the Types configuration
  • Insert new regions based on the Types configuration and the present code
  • Insert/keep regions even if they would be/are empty
  • Include access modifiers in the regions (e.g. Public Methods vs. Private Methods)

Regions Configuration

These options cover the majority of the ways users reported they like to setup their regions, but I anticipate more detailed requests. 😉

Card 113 – Updated Spade toolbar icons

Spade Toolbar Icons

Card 172 – Updated About dialog with BitBucket link

About

About

#endregion New Features – Yes even in a blog post I had to close the tags. 😉

#region Bug Fixes

  • Issue 261 – VS2010/TFS2010 crash when creating a new TFS work item with Spade open
  • Issue 281 – Comment lines with four forward slashes are not being ignored by comment formatting
  • Issue 282 – VS2010 crash when an aspx window is opened to design mode with Spade open
  • Issue 283 – Reorganization should skip members decorated with [ComImport] as that attribute indicates order is significant and should not change
  • Issue 285 – VS2010 crash when viewing Comments configuration page due to preview window binding issue
  • Issue 290 – Fix an error dialog that occurred when you selected “Cleanup Open Code” from a project properties page
  • Updated how the language service GUID comparisons are done to support Roslyn using different case rules than VS
#endregion Bug Fixes

#region Diagnostics Mode

I’ve also significantly beefed up the diagnostics logging throughout CodeMaid (enabled at CodeMaid->Configuration->General->”Diagnostics mode”).  When diagnostics mode is turned on, you can see a lot of details in the Output tool window about what CodeMaid is doing at the moment.  All command invocations, IDE events that are captured and raised internally within CodeMaid and a deep dive into the code model generation process are captured now.  If you’re having a problem, start here!

#endregion Diagnostics Mode

#region Summary

Thank you for being a CodeMaid supporter.  It is the ongoing enthusiasm and positive energy of the community that makes this project something that excites me to wake up early on the weekends. 🙂

If you want to get more involved there are several ways to participate.  You can chime in on the product backlog in Trello.  Report issues or fork the code on BitBucket.  Posting a review on VSG is always appreciated as well.  Finally you can become a beta tester (contact me) to help test the newest bits as they roll out.  It is as simple as joining a mailing list to get notified when there’s a new shiny! 😉

Enjoy the update, and keep dropping in for what’s next! 🙂

#endregion Summary

About Steve Cadwallader

Software developer who geeks out on user interfaces, clean code and making things easier.
This entry was posted in release. Bookmark the permalink.

6 Responses to CodeMaid v0.7.2 (Regions, love ’em or hate ’em edition) released!

  1. Otiel says:

    That’s some good news. 😀

    As usual, thank you for the hard work!

  2. Pankaj Nikam says:

    Loved this update 🙂 I love regions but sometimes they do get in the way 😀
    Thanks for this awesome update 🙂
    CodeMaid is one of my favorite extensions which I cant stop recommending to my friends 🙂

  3. Arun Mariappan K says:

    I have been using the CodeMaid for past two years and love it. Many thanks for this wonderful extension.

Leave a Reply

Your email address will not be published. Required fields are marked *