Make insertion mouse cursor visible in dark Visual Studio editor

后端 未结 5 1178
無奈伤痛
無奈伤痛 2021-01-30 10:25

I use a color theme with a very dark background, which works great except that VS2010 uses the default insertion point mouse cursor when the mouse is over the editor pane, and t

相关标签:
5条回答
  • 2021-01-30 10:29

    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

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2021-01-30 10:32

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

    0 讨论(0)
  • 2021-01-30 10:43

    It appears this is still a problem with Visual Studio and Windows 10 in 2020 (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.

    0 讨论(0)
  • 2021-01-30 10:48
    1. Press the Windows button or click Start Menu
    2. Type : mouse
    3. Select: Mouse settings
    4. From the Mouse settings window select: Additional mouse options, from the window, right top.
    5. Select: Pointers tab from Mouse Properties new window.
    6. Now select: Text Select, under customize level.
    7. Click the Browse button and choose your desire cursor.

    It's working!

    0 讨论(0)
提交回复
热议问题