How do I change cursor from a block back to | ?

已回答

On my Mac, somehow, the caret indicating the typing position changed from | to a black filled rectangle. How do I get the

     |

caret back?

21
Avatar
Permanently deleted user

It might be because somehow you hit the insert key on the keyboard.

Just hit the insert key again and it'll be gone.

0

For windows just press Insert keyboard

0

Click the numeric key 0 and you would get the normal caret back

0

You might want to also check this setting:

Settings / Preferences | Editor | General | Appearance | 'Use block caret'

0

I've hit the 'Editor Actions | Add Rectangular Selection on Mouse Drag', when trying to solve another problem (the cursor was '|' when I was on VIM insert mode or default mode.. If you know how to solve this, please let me know).

Now, the cursor is stuck on block - regardless of insert mode or not and if VIM is disabled. How do I put it back to '|'?

0

Galhyams Did you try disabling this setting

Is the issue reproducible with all of the custom plugins disabled and IDE restarted? File | Settings | Plugins | ⚙ | Disable all downloaded plugins

0

I had a similar problem wanting to change the mouse cursor from a block back to an insert mode.

I recently installed the plugin IdeaVim, and it caused this issue.

Disabled install of the plugin IdeaVim via Preferences > Plugins > Installed, Apply disable, restart WebStorm.

Returned mouse cursor to insert mode.

 

0

For Windows just press insert key which may be on right top of your keyboard.

0

请先登录再写评论。