visual-studio-codevs-code-settings

How to stop VS Code cursor from blinking?


How do I stop the VS Code cursor from blinking? What's the right option in settings.json?


Solution

  • Add the following line to your settings.json (to open it, press CMD/Ctrl + Shift + P and type "Settings"):

      "editor.cursorBlinking": "solid",
    

    The default editor settings and their options are documented at VS Code Default Settings.

    An alternative is to use the graphical settings editor.

    1. Open Settings GUI: Press Ctrl + ,
    2. Type "cursor blinking" in the search bar
    3. Change the relevant entry to "solid" from "blinking"