visual-studio-code

How can I change cursor color in VSCode?


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.


Solution

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