Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij Idea - how to get rid of thick caret/cursor

I pressed something in Intellij and my caret shape changed to this. How to revert to the normal thickness? Using Intellij 2016.1.

thick caret

Compare to this, normal thickness should be that of a bold vertical line:

normal caret

Update: On Android Studio 2.1 beta, same machine, same font settings, cursor is visibly thinner.

like image 949
Desik Avatar asked Nov 29 '22 23:11

Desik


1 Answers

You can .. but it's not pixel perfect. I mean -- for me the value does not seem to control thickness in pixels but rather some index (which gets applied to some predefined values) -- at least this is my impression on what I see my computer.

In any case:

  1. Help | Find Action...
  2. Search for registry action
  3. Once in Registry window -- look for editor.caret.width entry
  4. Set the new value (for me the default was 2) -- make sure that field went bold (move to another entry) to ensure that new value was accepted.
  5. Restart IDE (this option requires it)

UPDATE (2017/04/06):

You may also try ThinCaret plugin:

Makes your editor caret 1 pixel thin (for retina users)

like image 193
LazyOne Avatar answered Dec 02 '22 13:12

LazyOne