vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Dark cursor is hard to see on dark background & text color

Open pcgeek86 opened this issue 11 years ago • 27 comments

I'm using Visual Studio Code 0.10.2 on Mac OS X 10.11.1 El Capitan. On my external monitor, the viewing angle sometimes makes it impossible to see the dark cursor on top of the dark Visual Studio Code background color.

Could we figure out some way to make the cursor more visible in VS Code?

Cheers, Trevor Sullivan Microsoft MVP: PowerShell http://trevorsullivan.net http://twitter.com/pcgeek86

pcgeek86 avatar Nov 27 '15 16:11 pcgeek86

There are other themes available in the command palette which feature different background colors: cmd+shift+p -> type "theme" > enter

Tyriar avatar Nov 30 '15 02:11 Tyriar

@pcgeek86 I can also only recommend a different theme. There are a lot of theme extensions already in the gallery.

alexdima avatar Nov 30 '15 10:11 alexdima

in all the dark themes is difficult to see the cursor, and the other themes make you blind :) can we change the cursor to anything else other than black? how about the default Visual Studio Theme? (Blue/White)

scastaldi avatar Dec 04 '15 19:12 scastaldi

Perhaps I'm misunderstanding, but isn't this an OS X cursor issue? (is it this one?)

Tyriar avatar Dec 04 '15 19:12 Tyriar

Aha!

alexdima avatar Dec 05 '15 10:12 alexdima

screen shot 2015-12-14 at 5 55 35 pm screen shot 2015-12-14 at 5 55 48 pm Sublime inverts the color of the text cursor, which is easier to see. Maybe there should be a setting associated with themes to do this?

takumif avatar Dec 14 '15 23:12 takumif

@bpasero Do you know if electron supports to invert the color of the mouse cursor ?

alexdima avatar Dec 15 '15 14:12 alexdima

@alexandrudima not to my knowledge and in fact Atom is assigning a custom cursor when I last checked using CSS. What I dont like about that approach is that it seems impossible to put the correct size of the cursor depending on running in High DPI or not (retina).

bpasero avatar Dec 15 '15 14:12 bpasero

@bpasero @alexandrudima Surely this doesn't reproduce on regular web pages with dark backgrounds on Chrome? Never heard of this being a problem as a web developer.

Tyriar avatar Dec 15 '15 14:12 Tyriar

@Tyriar I totally see it in Chrome too when using Cloud9 with a dark editor.

bpasero avatar Dec 15 '15 14:12 bpasero

I would like to support this feature request. Especially on a laptop the cursor is hard to spot when the weather conditions are slightly brighter than 'cloudy-with-rain'.

elijnzaad avatar Feb 15 '16 10:02 elijnzaad

+1. This is a real problem.

ardan-bkennedy avatar Feb 16 '16 19:02 ardan-bkennedy

+1 biggest usability problem for me

JonathanMEdwards avatar Feb 16 '16 20:02 JonathanMEdwards

I increased the size of my cursor and it is helping for now.

ardan-bkennedy avatar Feb 16 '16 20:02 ardan-bkennedy

Here is the fix in Atom: https://github.com/lee-dohm/white-cursor

JonathanMEdwards avatar Feb 20 '16 00:02 JonathanMEdwards

:+1: this is highly annoying

mbroadst avatar Mar 01 '16 19:03 mbroadst

I got the fix and I forgot to add the solution here :) Open Control panel Open Appearance and Personalization Open Personalization Finally – click Change mouse pointers. That will open this window: mouse color scheme Select the Scheme called – Windows Black (system scheme)

scastaldi avatar Mar 02 '16 01:03 scastaldi

@scastaldi that seems like a windows-specific fix, I'm on osx. I think something like the above mentioned fix for atom might be a better way to go

mbroadst avatar Mar 02 '16 04:03 mbroadst

@mbroadst I didn't have the cursor problem on my mac, but you can try: Choose Apple menu > System Preferences, then click Accessibility. Click Display then drag the Cursor Size slider to the right to make it larger

You can also change the Display contrast to see if that helps, it seems MacOS removed the ability to change the mouse pointers, unless you install a another application like Mousecape

scastaldi avatar Mar 04 '16 02:03 scastaldi

@scastaldi Thanks, it helped.

I am using VS Code from my Mac on Remote Desktop running Windows Server 2012. There you can go to Control Panel and search for Mouse. You find Mouse Properties dialog and you can use the Pointer tab to change your mouse pointer to Windows Black.


BTW, when I am using VS Code directly on my Mac, the mouse pointer is somehow visible. But on MS Windows, it is (or was) much worse.

tomasholub avatar Mar 07 '16 12:03 tomasholub