Custom Resharper Type Members Layout#

My good friend Daren May put together a custom type members layout for Resharper.  This a a newer feature in Resharper that allows someone to define a custom code format in xml.  To do this follow the steps below.

1) Go to Resharper’s “Options” page in Visual Studio

ResharperOptions

2) Select the “Type Member Layout” in the navigation tree then unselect “Use Default Patterns”.

ResharperTypeMemberLayout1

3) Take the contents of this xml file and paste it into the “Custom Patterns” window.

ResharperTypeMemberLayout2

4) Format your code in Visual Studio.  This can be done by using Resharper’s context menu or by hit ctrl+alt+F  Be sure to have the “Reorder type members checked”.

ResharperReformatCode

Wednesday, September 19, 2007 2:29:24 PM (GMT Standard Time, UTC+00:00) #    Comments [0]  | 

 

Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Live Comment Preview
All content © 2009, John Luif