Peter's Gekko

Sponsors

The Lounge

News

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
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.


Posted 10-18-2007 12:48 PM by pvanooijen
Filed under:

[Advertisement]

Comments

joeyDotNet wrote re: ReSharper in the context menu
on 10-18-2007 8:41 AM

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

Christopher Steen wrote Link Listing - October 18, 2007
on 10-19-2007 6:02 AM

Link Listing - October 18, 2007

Christopher Steen wrote Link Listing - October 18, 2007
on 10-19-2007 6:04 AM

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

ThemePassion - Best stuff about design! » ReSharper in the context menu wrote ThemePassion - Best stuff about design! &raquo; ReSharper in the context menu
on 10-28-2007 6:56 AM

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

http://sgentile.codebetter.com/blogs/peter.van.ooijen/archive/2007/10/18/resharper-in-the-context-menu.aspx wrote http://sgentile.codebetter.com/blogs/peter.van.ooijen/archive/2007/10/18/resharper-in-the-context-menu.aspx
on 03-26-2008 4:52 AM

Add a Comment

(required)  
(optional)
(required)  
Remember Me?