Thursday 15 March 2012

Resharper TODO Explorer Custom Tags

 

Today I stumbled across a very neat little feature in Resharper that can help immensely when carrying out large code refactoring on a solution as we're doing now currently in our code base. (http://www.jetbrains.com/resharper/webhelp/Configuring_ReSharper__Sharing_Configuration_Options.html )

Turns out you can set up custom tags for the TODO item explorer, and use these to jump quickly through the code base to locations that you need to come back to at a later date (using Ctrl+Alt+PgDown when the TODO item explorer is the active window)

We've created a custom tag of DBR to easily search for code areas relating to database refactor tasks that need doing still. ..

clip_image001

This then automatically gets added to anyone working on our branch via saving off the custom tag into the team MySolution.sln.DotSettings file, which is then added to source control as a Solution Item…

clip_image002

Then, with the TODO item explorer (Ctrl+Alt+D) you can filter for these tags only in code as follows…

clip_image003

If you have any custom tags you wish to add to the team shared folder then you'll need to copy them to the team shared file (ensure you have it checked out first), via the Resharper, Manage Options, menu option as follows…

clip_image004 clip_image005

You can type whilst the TODO explorer window is activated, and it will filter to those items that have the search phrase you typed in…

image

More information here about all of this...

http://www.jetbrains.com/resharper/webhelp/Configuring_ReSharper__Sharing_Configuration_Options.html

4 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. I hope to have many more entries or so from you.
    Very interesting blog.
    howcrack.org
    ReSharper Crack

    ReplyDelete

How to find the last interactive logons in Windows using PowerShell

Use the following powershell script to find the last users to login to a box since a given date, in this case the 21st April 2022 at 12pm un...