Just sharing some of my inconsequential lunch conversations with you... RSS  

Sunday, December 02, 2007

Regionerate

Regionerate is a new open-source tool for developers and team leaders that allows you to automatically apply layout rules on C# code - mainly (or exclusively?) about managing the #region layout.

I haven't been the greatest fan on overusing #region, perhaps this is the time to start using them more often - now that this can be automated by this tool.

Thanks for the tip, André Lourenço.

[update]
I've just tried it on Visual Studio 2008 and it works. I had a problem with the custom templates - I had to manually copy the templates to 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE', as it returned:

System.IO.FileNotFoundException: Could not find file 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\CodeLayout.xml'

1 comment:

Omer Rauchwerger said...

Mário,

Not exclusively. You can use Regionerate to enforce layout without using regions at all.

Let me know about your experience with it.

-- rauchy.

Development Catharsis :: Copyright 2006 Mário Romano