Ctrl + Dot (ShowSmartTag) not working in Visual Studio 2012

后端 未结 5 2012
悲&欢浪女
悲&欢浪女 2021-01-02 01:40

I\'m now using the Visual Studio 2012, and now the keyboard shortcut for \"ShowSmartTag\", Ctrl + ., is not working. I googled a bit found so

5条回答
  •  半阙折子戏
    2021-01-02 02:25

    On my PC the problem occurs mostly when renaming a method or a parameter ...

    To analyze this I have started a first VS 2012 instance without starting to edit the source code. Then I have started a second instance of VS 2012 which must be attached to the first VS instance:

    • Debug->Attach to Process
    • Look for devenv.exe, Title = title of the VS main window
    • Select Managed and Native Code
    • Attach

    Enable Break when exception occurs:

    • Debug->Exceptions
    • Enable C++ Exceptions, Common Language Runtime Exceptions
    • OK

    Now as I started to edit a parameter name in the first VS instance, an error was thrown and the debugger in the second instance showed me an error in an memory Profiler Add-In. After I have uninstalled the Add-in, the ShowSmartTag called by the keyboard works fine again.

提交回复
热议问题