I would love it if Regionerate could remember the layout chosen on a per-file basis, so you could simply hit the hotkey and it would reformat according to the last chosen layout, rather than always using the default one. For example, there's a layout for unit tests, which differs from the default layout. When I add a function to a unit test, I often hit the hotkey combination and the document reformats using the default layout. I then have to do it again, remembering to press the unit test layout button too.
I can appreciate that this would require storing the settings somehow, I would probably suggest that it gets put in a comment at the bottom of the file, or in a settings file for that project.
A more ideal solution would be to add a condition to each loaded layout which specifies when that layout should be used. For example, use the Unit Test layout if the class has the [TestClass] or [TestFixture] attribute. I would also use this to format the code behind an ASP.NET page differently to a class, for example. This option would not require any alteration of the files being reformatted, nor a project-specific settings file.
