Make insertion mouse cursor visible in dark Visual Studio editor

Edit: In Windows 10 this setting is in a different place:

  1. Open settings
  2. Click Personalization
  3. Click Themes in the right sidebar
  4. Click Mouse Cursor
  5. Select the Scheme called – Windows Black (system scheme)
  6. 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:

  1. Open Control panel
  2. Open Appearance and Personalization
  3. Open Personalization
  4. Finally – click Change mouse pointers.
  5. 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:

  1. Open Control Panel

  2. Open the Mouse applet

  3. Choose the Pointers tab

  4. Select "Text Select" in the list

  5. Click the Browse button and choose the cursor file

Windows 8:

  1. Click the Start button

  2. Type "mouse click" and wait

  3. Choose "Change mouse click settings" -- this gets you the old Mouse Properties dialog box

  4. Choose the Pointers tab

  5. Select "Text Select" in the list

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

  1. Start button
  2. Type "mouse"
  3. Choose "Mouse settings" from the results
  4. In the Mouse settings window, click on "Additional mouse options" under "Related settings"
  5. Choose the Pointers tab in the new window that opens up
  6. Select "Text Select" in the list
  7. 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.