Make insertion mouse cursor visible in dark Visual Studio editor
Edit: In Windows 10 this setting is in a different place:
- Open settings
- Click Personalization
- Click Themes in the right sidebar
- Click Mouse Cursor
- Select the Scheme called – Windows Black (system scheme)
- Click Apply
Original Answer:
I have the same problem in Visual Studio 2012 (Dark Theme) on a Windows 7 guest system running inside VirtualBox.
I have found a slightly better solution:
Basically, you can globally change the cursor scheme:
- Open Control panel
- Open Appearance and Personalization
- Open Personalization
- Finally – click Change mouse pointers.
- Select the Scheme called – Windows Black (system scheme)
Makes your cursor nicely visible against the dark background while also working great on light backgrounds. Hope that helps!
Credit: http://www.marcusoft.net/2011/08/my-mouse-pointer-disappeared-in-visual.html
My temporary solution is that I'm using a custom "text select" cursor on the system as a whole, which I did by finding one that wasn't too outrageous, and then:
Windows 7 and earlier:
Open Control Panel
Open the Mouse applet
Choose the Pointers tab
Select "Text Select" in the list
Click the Browse button and choose the cursor file
Windows 8:
Click the Start button
Type "mouse click" and wait
Choose "Change mouse click settings" -- this gets you the old Mouse Properties dialog box
Choose the Pointers tab
Select "Text Select" in the list
Click the Browse button and choose the cursor file
Of course, this changes the cursor globally, not just in VS2010, and so I have to use one that works against both light and dark backgrounds (in my case, for now, the one from the DeepSky set on deviantart — only the text select one, not the full set).
It appears this is still a problem with Visual Studio and Windows 10 in 2021 (I keep updating this every year...). Working off of szalski's and T. J. Crowder's solution, it can be changed in Windows 10:
- Start button
- Type "mouse"
- Choose "Mouse settings" from the results
- In the Mouse settings window, click on "Additional mouse options" under "Related settings"
- Choose the Pointers tab in the new window that opens up
- Select "Text Select" in the list
- Click the Browse button and choose the cursor you want
As pointed out by Brad Bamford, "beam_r" is a good choice since it looks very similar to the standard pointer, but also has a white outline. I can finally see the cursor in Visual Studio.
You can change the cursor, so you don't mess up the theme you want in Windows.
I made two I Beams that I made available in a github project:
DarkThemeBeam
Use those, if you want.
I hope that's easier and less invasive on your eyes than changing the larger desired theme you want to work in.