visual-studio-codeeditor

Increase the caret cursor size in VS Code


Is there a way to increase the size for the caret cursor in VS Code? I'm on MacOS.

I find it hard to see:

Purple


Solution

  • In settings.json try the following:

    "editor.cursorStyle": "line",
    "editor.cursorWidth": 4    
    

    I found I could change the width from 1 to 7 and the cursor would get larger or smaller. Setting it to 0 did not have the effect of hiding it.