问题
I'm now using the Visual Studio 2012, and now the keyboard shortcut for "ShowSmartTag", Ctrl + ., is not working. I googled a bit found someone said that CodeRush's Quick Nav shortcut is the same, so I disabled that command in CodeRush, but still I can not fix this. I also tried to disable all those suspicious extensions, but still no success. Any idea?
回答1:
All keyboard shortcuts can be viewed from Tools > Options > Environment > Keyboard
. What does your View.ShowSmartTag
command say about current shortcuts?

If you try to assign CTRL + . to anything, it will tell you if the shortcut is used by something else...
回答2:
In my case it was Web Essentials that caused this issue. I disabled it, and now all works well.
回答3:
It's CodeRush that caused the issue and I uninstalled it, then SmartTag works again. My guess is that CodeRush replaced VS2012's built-in SmartTag entirely.
回答4:
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.
回答5:
I have the same problem with Ctrl + ., and I try this hotkey in anywhere of Visual Studio, but it is useless. My notebook is ThinkPad T430 made in Vietnam; I think this is an issue by the keyboard standard.
Maybe you should set another hotkey for "ShowSmartTag". For example, I removed the "NavigateTo" and added the Ctrl + + to "ShowSmartTag".
来源:https://stackoverflow.com/questions/13358051/ctrl-dot-showsmarttag-not-working-in-visual-studio-2012