When using Visual Studio 2015 Community Edition, my cursor often disappears when I execute the Ctrl+. shortcut Ctrl+. to fix missing dependencies. For example, if I create a new Entity Framework object and want to add the [Required] attribute to one of my properties:
- Enter
[Required] . The attribute receives a red underlined underline. - Press
Ctrl+. to open the proposed import. - Select the option
using System.ComponentModel.DataAnnotations using the arrow keys - Press
Enter to select it and import the using statement
Sometimes I can continue coding without any problems. But most of the time, my cursor disappears, and I have to go back to the code editor to return the cursor.
This happens to me on several different computers using Windows 7, Windows 8.1 or Windows 10. I tried resetting the VS2015 to its default settings, but it didn't seem to help. The only thing I can think of is perhaps worth mentioning is that I'm using a dark theme.
Has anyone else experienced this? Is there a change in settings so that the editor retains focus or a key combination to return the cursor? It's not the end of the world to use a mouse, but I never had to do it in 2013, so it's a little annoying.
c # visual-studio visual-studio-2015
Sam
source share