Reputation: 635
I pressed something in Intellij and my caret shape changed to this. How to revert to the normal thickness? Using Intellij 2016.1.
Compare to this, normal thickness should be that of a bold vertical line:
Update: On Android Studio 2.1 beta, same machine, same font settings, cursor is visibly thinner.
Upvotes: 6
Views: 27486
Reputation: 11
To remove the block caret in CLion by JetBrains, click the "Insert" key on your keyboard. This will toggle the block caret on and off. Do not wrap your head around trying to understand how the block caret works. This also works for all JetBrains IDEs such as Clion, PyCharm, Fleet, etc.ðŸ¤
Upvotes: 1
Reputation: 621
If you got here because of the thick cursor (block cursor) that behaves differently than the normal thin one. Just press the insert (Ins) button once and you are good to go.
Upvotes: 7
Reputation: 93
Go to the Keymaps section of the Preferences and add your own Keyboard shortcut if you are using a Mac. Windows users can just enable/disable Insert mode on their keyboard.
Upvotes: 1
Reputation: 165088
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:
Help | Find Action...
registry
actioneditor.caret.width
entry2
) -- make sure that field went bold (move to another entry) to ensure that new value was accepted.UPDATE (2017/04/06):
You may also try ThinCaret plugin:
Makes your editor caret 1 pixel thin (for retina users)
Upvotes: 13
Reputation: 17761
You can change it under Settings -> Editor -> General -> Appearance -> Use Block caret
Other caret settings are under Settings -> Editor -> Colors & Fonts -> General
. Then if you scroll down to the editor section on the right, there is a caret
item in the list with font/color settings.
Upvotes: 8