Refactor menu missing from Visual Studio 2015

前端 未结 5 816
庸人自扰
庸人自扰 2021-02-01 11:35

I am having trouble finding the right-click context menu in Visual Studio 2015. I know that nothing is wrong with my project or the file I am working. I can find the right-click

5条回答
  •  春和景丽
    2021-02-01 12:17

    Some of the refactoring tools have been relocated or are at least accessible in a different manner than they were previously.

    Using the extract method refactor as an example, you can still use this function; it is just not done the same as before:

    Right click

    Quick actions

    Click extract Method

    I think they've changed it to feel more "ReSharper"ey. All of the functionality should still be there however.

    Here's more information on refactoring in Visual Studio 2015 - hopefully this helps! Refactoring (C#)

提交回复
热议问题