Change visual studio caret color

前端 未结 6 1681
粉色の甜心
粉色の甜心 2020-12-29 19:44

I am trying the new Visual Studio 2012 dark theme. When moving the mouse of code I cannot see the cursor, since the code background is black and the mouse cursor is black.

6条回答
  •  粉色の甜心
    2020-12-29 19:59

    On a Windows 10 level there is a solution for the cursor/indicator/caret with some swag in the form of :

    https://www.tenforums.com/tutorials/137454-change-text-cursor-indicator-color-windows-10-a.html

    For Visual Studio specifically:

    1. Install the extension Color Theme Editor for Visual Studio 2019 from the market: LINK or from within the VS itself --> Extensions --> Manage --> Online (Use the search bar)
    2. When this extension is installed open it from within VS by --> Tool --> Customize Colors and then use the search for key word "caret" and change the Foreground and Background colors of the indicator/cursor/caret.

    Example: Text Editor -> VsVim Block Caret -> Background

    INFO: Look at the image for more guidance (the search bar is to the right of the save; save and apply icons... outside of the screenshot):

提交回复
热议问题