Archive for the 'CodeRush' Category

Lines between methods in the C# editor (CodeRush/DxCore plugin)

Like most .NET developers,  I used to do VB/VBA coding before C# came along. But, one thing I always missed in in the C# code editor was the lines that the VB editor puts between methods. An an avid user of CodeRush and Refactor! Pro, which itself does code structure painting in Visual Studio, I’ve created a DxCore Plugin that draws lines between methods which (IMHO) improves on the ones in the VB code editor.

Here’s a screen shot of it in action:

Draw Lines Between Methods - in action

And here’s the exciting options page:

Draw Lines Between Methods - settings

Even if you’re a VB.NET person you might like to try it to see if it works any better for you than VB’s built-in lines (although I guess you’d need to turn off the built-in method-separating lines somewhere in Tools Options).

As I wrote the code a while ago, it’s compiled as a .NET 1.1 DLL, so will work equally as well in Visual Studio 2003 as it does for me now in Visual Studio 2008.

Download (VS2003 source included): CR_DrawLinesBetweenMethods.zip

Let me know how you get on with it in the comments :)