CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Peter's Gekko

public Blog MyNotepad : Imho { }

ReSharper in the context menu

Last week Jean-Paul demonstrated how to get faster access to ReSharper with the Alt key. He did so by removing the competing inbuilt VS 2005 refactor menu. Also in the context menu ReSharper is masked by the VS refactoring. Here's the recipe to promote our favorite tool over there.

  • In VS pick Tools | Customize
  • Select the Toolbars tab
  • In the list check the context menus checkbox
  • A toolbar with named dropdowns will appear
  • Expand Editor Context Menus
  • Select Code Window
  • The context menu will appear
  • Tear of (Drag and drop it anywhere) the VS refactor submenu
  • Right click the Resharper submenu
  • Change the name to &Refactor
  • Close the dialog

Et voilà, hitting the context menu key, followed by an R now pops up the available ReSharper refactorings.

This is just as fast as <Alt>R|R, but the nice thing is that the context menu pops up closer to the code to be refactored.


Published Oct 18 2007, 12:48 PM by pvanooijen
Filed under:

Comments

joeyDotNet said:

FYI, Ctrl-Shift-R also gives you same ability to pop up the available refactorings directly in its own menu with needing to activate the full context menu.  :D

# October 18, 2007 8:41 AM

Christopher Steen said:

Link Listing - October 18, 2007

# October 19, 2007 6:02 AM

Christopher Steen said:

How to build a Fluent Interface in C# [Via: blog@troyd.net (Troy DeMonbreun) ] SOA Security - Enterprise...

# October 19, 2007 6:04 AM

ThemePassion - Best stuff about design! » ReSharper in the context menu said:

Pingback from  ThemePassion - Best stuff about design! &raquo; ReSharper in the context menu

# October 28, 2007 6:56 AM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add
Check out Devlicio.us!

This Blog

Syndication

News