February 20, 2007 Tools

My Favorite DXCore Plugins

Here are a few of my favorite DXCore plugins.

In a recent post I mentioned that I migrated a project from VB.Net to C#. The conversion did not maintain regions. To help get the converted code all prettied up I used a couple of DXCore plugins: CR_ClassCleaner and CR_SortLines. John Luif is the creator of CR_ClassCleaner. This plugin did the heavy lifting of organization for me. It includes a Word doc for installation instructions. There he details 6 command actions:

  • RemoveRegions: ctrl+shift+alt+I
  • RemoveWhitespace: ctrl+shift+alt+K
  • OrganizeWithRegions: ctrl+shift+alt+L
  • OrganizeWORegions: ctrl+shift+alt+O
  • SelectCurrentMember ctrl+P
  • CutCurrentMember ctrl+shift+P

I used the OrganizeWithRegions command, here is a quick screen cast:

CR_ClassCleaner

To get the using statements organized I used Travis Illig’s CR_SortLines. Here is a screen cast from his site:

So far the plugins are the kind that you may not use everyday. These next few are of the everyday variety. I use them all the time.

First lets look a what Rory Becker has put together. I think he may have written more plugins than anyone else that is not in the employ of Developer Express.

I use MoveIt and UnusedVars. I am PaintIt’s (used to be ColorcodeVars) number one fan. Here just take a look at what PaintIt does:

PaintIt

It makes reading the code so much easier, It is much more of an in your face media rich experience. The highlighting is the main feature for me. When you place the cursor on a var/member/ref it highlights all the refs and declaration of that var/member. The highlighting coupled with CodeRush’s new reference jumping feature is spectacular. There used to be a a great video of the feature with Mark Miller and Julian Bucknall but they seem to have removed it :-( . Here is my weak replacement:

ReferenceJumping

Mark did a much better job, but it is his job. Anyway all you have to do to jump to the next ref is press Tab, Shift+Tab to go backwards. There is also the companion Reference Tool Window:

ReferenceWindow

Placing your cursor on a ref will populate the tool window when Live Sync is on, otherwise you click the sync button.

Rory’s UnusedVars plugin is simple. It shows you any unused vars:

NotUsed

Again this is helping to create a media rich experience. The realtime nature of these plugins is a key aspect as well.

The last plugin of Rory’s that I use is MoveIt. It is a Refactoring plugin. It offers 5 refactoring dealing with scope:

  • Local to Private
  • Local to Protected
  • Local to Param
  • Param to Local
  • Move to Ancestor

Here is a complete list of the refactorings that come with Refactor!.

Lastly is Code Style Enforcer by Joel Fjordén. It has three main rule types: member visibility, interface implementation. and basic naming conventions. The naming convention is the most interesting to me. It uses user defined regular expressions to evaluate compliance. It comes predefined so if you are not a regex wiz the defaults are where it’s at. The tool tips don’t show in the animated gif below, they are what gives you a clue as to what you have done wrong so that you can fix it.

CodeStyle

http://www.rorybecker.co.uk/

http://www.codeplex.com/CRClassCleaner

http://joel.fjorden.se/static.php?page=CodeStyleEnforcer

http://www.paraesthesia.com/blog/weblog.php?id=C0_10_1

7,339 Total Views

3 to “My Favorite DXCore Plugins”

Trackbacks/Pingbacks

  1. My Favorite DXCore Plugins…

    You’ve been kicked (a good thing) – Trackback from DotNetKicks.com…

  1. DotNetKicks.com says...

    My Favorite DXCore Plugins…

    You’ve been kicked (a good thing) – Trackback from DotNetKicks.com…

  2. Dominick says...

    Hi, after reading this awesome post i am as well cheerful
    to share my experience here with colleagues.

  3. link vao m88 qua dien thoai says...

    Be it the goliath that it would be that of link vao m88
    tot nhat Manchester United. It is amazing that a lot of football to deal with.
    From Malaga to ManchesterManchester City has not yet sold.

Leave a comment

*

here