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

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?

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...

In my case it was Web Essentials that caused this issue. I disabled it, and now all works well.

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.

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.

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".

Related

Copy-paste is not working in Android Studio on Mac

I am facing a weird issue with Mac version of Android Studio (i.e., I am not able to copy (⌘ + C) and paste (⌘ + V) any text). I have no idea why it is behaving strange like this. My question may be silly, but I have been facing this issue since I started working from Windows to Mac. Any solutions and alternatives would be much helpful for me. I am completely stuck with this issue for the past two days.
There are several reasons why you could be experiencing this
You are using ClipMenu and Android studio doesn't like it
Your keybinding is messed up.
To solve keybinding issue press File -> Settings and check what the keybindings are, you have maybe changed it or imported settings from somebody else. See the image as a reference.
Note: the filter of copy, you need to do this for paste too.
To fix the issue with ClipMenu.
Right click on "Application/IntelliJ IDEA 14.app"
choose "Show Package Contents"
edit bin/idea.properties
add this property ide.mac.useNativeClipboard=True
restart IntelliJ IDEA.
There is a YouTrack issue with further information
this worked for me
go to file menu and click on invalidate Caches/Restart ,after this confirm the dialog open .
Go to File-> Setting->Editor(Under IDE Settings)->Change value of maximum number of contents to keep in clipboard to 1(Under Limits section)
I have this issue due to PopClip I have to disable it to get the keyboard shortcuts working.
Check that your keymaps aren't messed up. Go to Android Studio > Preferences > Keymap > Main Menu > Edit. If copy and paste are set correctly there, then it must be something else in your system that's stopping it
I got this bug with my ClipMenu (on Mac) while set useNativeClipboard=true.
I solved the problem by using ClipMenu to paste file into Android Studio (show menu of ClipMenu, then select item)
In my case, the Ctrl c is occupied by other programs(my case is "Oulu Dictionary" program).
Try to check if other programs have global shortcut keys.
disable the plugin Ideavm if installed under settings>plugins>installed.

Shortcuts do not work on android studio

I recently installed android studio after long time using eclipse
I have properly configured the ide and it works, but I have a problem with keyboard shortcuts.
I have setup shortcuts that comes by default and, for example, want to collapse or expand all code, this is the shortcut:
However, using that shortcut creates a comment in my code.
/ ** /
I looking setup, see the shortcut is correct:
This happens to me most keyboard shortcuts, tried different ways but do not know how to work properly.
I appreciate any help.
Thanks!

Visual Studio 2012 random bug or fail by me

The problem
Yeah, so I am having quite annoying problem where to I have not been able to find any solution from Google. The problem comes up in both situations starting up a new project or opening up old working one, all I get is emptiness everywhere, see picture below.
What i have already tried
I have tried reinstalling the whole program couple times and I have patched it.
Picture: http://i.imgur.com/XqJgwKJ.png
The solution explorer may not show up by default. You can show it with:
Application menu: View > Solution Explorer
Shortcut: Ctrl + Alt + L
I think you just don't have your solution explorer open and visual studio doesn't open any file by default.
The solution explorer shows you all of the files and folders in the current solution and let's you open them.
Open it using View > Solution Explorer or press Strg + Alt + L.

Resharper 7.1 messing up Visual Studio 2012 preview feature

I've installed Resharper 7.1, and I'm getting some strange behaviour
When navigating through code using F12 (go to definition), VS 2012 was usually displaying the preview tab on the upper right hand side, to avoid lots of files being open and stacking up
However, I've noticed that now it behaves erratically
I've tried with resharper on and off, this is what happens
Resharper ON : when pressing F12 into a base class name (or any class definition), instead of previewing the file, VS just opens the file (same that happened in VS 2010).
Resharper OFF : when pressing F12 into a base class name (or any class definition), VS opens the preview tab, file doesn't stay open
So, I assume that Resharper is doing something with the shortcuts or some strange option that's messing the preview feature
More strange is that SOMETIMES it does work with resharper, but I couldn't find a distinctive pattern of when it's working and when it's not...
Any ideas?
It looks like this was a FEATURE! (can't believe it...)
http://sticklebackplastic.com/post/2013/02/01/New-ReSharper-plugin-bringing-the-preview-tab-back.aspx

Resharper installed, now no automatic code prompts in immediate window

I've become accustomed to using ReSharper, so uninstalling it is not an option.
However 1 little thing that I would like to try fix is the immediate window, I used to get automatic intellisense prompts when for example typing myObject.
That seems to no longer be working (and only in immediate window while debugging) since I installed ReSharper. Any ideas on how to get it back?
Unfortunately, if you're using the ReSharper intellisense (instead of the Visual Studio one), it won't work. I remember reading somewhere that this is a known issue due to a limitation in the Visual Studio extensibility API. This also affects the watch dialog.
The only thing you could do is manually invoke intellisense each time using Ctrl-Space. Perhaps this issue will be solved in Visual Studio 2010.
The problem is ReSharper and there is no current any solution.
And the shortcut for intellisense-pop is Ctrl + Space, (not Ctrl + Alt + Space)

Resources