Refactor menu missing from Visual Studio 2015

I am having trouble finding the context menu of the context menu in Visual Studio 2015. I know that nothing bad happens with my project or the file I'm working with. I can find the context menu refactoring context menu in Visual Studio 2013. However, in Visual Studio 2015 the context menu of the context menu does not have a refactoring context menu.

Where did he go? How do I get it back?

Your offer cannot include "Edit-> Refactoring".

Edit I tried resetting my default visual studio settings using Tools-> Import and Export Settings and did not return the menu back.

+76
visual-studio visual-studio-2015 refactoring
Jul 24 '15 at 16:04
source share
4 answers

Some refactoring tools have been moved, or at least available in a different way than before.

Using refactoring the extract method as an example, you can still use this function, it's just not the same as before:

Select parts to extract

Right click

Right click

Quick action

Quick actions

Click Retrieve Method

Click extract method

I think they changed it to feel more "ReSharper". However, all functions should be there.

Here's more info on refactoring in VS2015 - hope this helps! https://msdn.microsoft.com/en-us/library/719exd8s.aspx

+86
Jul 24 '15 at 16:16
source share
β€” -

You no longer need to access refactoring by right-clicking.

We recommend using keyboard shortcuts in Visual Studio.

For all possible keyboard shortcuts, see Keyboard Shortcut Refactoring, Visual C # Scheme.

+1
Nov 26 '16 at 9:25
source share

it may have already been answered, but if you change the name of the object you are refactoring, then a light bulb appears on the left, asking if you want to change the name of the object (i.e. refactoring) or create a new constructor for the new named object. hope this helps.

0
Sep 20 '16 at 2:05
source share

Ctrl + . - this is a hotkey for extracting a method in Visual Studio 2015 onwards, Ctrl + M , R no longer works in new versions

0
Dec 09 '17 at 10:43 on
source share



All Articles