How can I change cursor color in VSCode?

Visual Studio-CodeVscode Settings

Visual Studio-Code Problem Overview


Is there a way to change the cursor colour in the Visual Studio Code editor window?

I am slightly colour blind, so I would like to change it from red to something else (yellow maybe) to improve accessibility and make it easier for me to read.

Visual Studio-Code Solutions


Solution 1 - Visual Studio-Code

Try adding this to your global preferences file:

"workbench.colorCustomizations": {
    "editorCursor.foreground": "#ffff00",
    "terminalCursor.foreground": "#ffff00"
}

Also worth noting that if you're colourblind, there are probably some colourblind-friendly themes for vscode out there, though I can't say I have looked for them myself.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionuser1619524View Question on Stackoverflow
Solution 1 - Visual Studio-CodeNacimotaView Answer on Stackoverflow