macosvisual-studio-code

How do I change the cursor in VS Code?


Somehow I ended up with a block/square cursor in VS Code. What is the setting name, and how do I go back to the pipe cursor?

Note that it's not "overtype" mode: I can type before other characters and it doesn't overwrite them.

I'm on macOS Sierra


Solution

  • // Controls the cursor style, accepted values are 'block', 'line' and 'underline'

    "editor.cursorStyle": "line",
    

    from VSCode settings.json defaults