Eclipse text cursor has changed and editor behaves differently

90,174

Solution 1

It sounds like you have accidentally switched from Smart Insert mode to Insert mode.

Press Ctrl + Shift + Insert or tick Smart Insert Mode on the Edit menu to switch back.

Smart Insert is the feature that automatically insert closing quotes and brackets when you type the opener and places semi-colons at the end of the line when you press semi-colon (if you have the preference for that enabled.)

Solution 2

Maybe you pressed the insert key, which will change the Eclipse editor to Overwrite rather than Smart Insert (see the info bar at the bottom of the editor), and will change the cursor to a block rather than a vertical line?

Update: Thanks for clarification - see mikej's answer which is correct. I'll leave this answer in case anyone has the similar, related problem that I describe.

Solution 3

Just double click on "Smart Insert" / "Overwrite" in eclipse status bar

For reference, I am adding image.

Ecliple - Status Bar

Solution 4

If nothing works, restart eclipse. That is what I did !

Solution 5

Just click

Toggle Vrapper Icon in Toolbar..

That may causes some issues like these. Because I'm also faced the same issue until today.

Please refer the below images to get clear idea about this.


Toggle Vrapper Icon

Make sure that it is in disable mode in status bar
Status bar Confirmation

Share:
90,174
Jeremy
Author by

Jeremy

Updated on July 08, 2022

Comments

  • Jeremy
    Jeremy almost 2 years

    I pushed a magic button and now my cursor (the blinking thing that shows where you type) split itself and now Eclipse is acting like a plain text editor/like Microsoft Word. The cursor, which usually looks like "|", now looks like "¦" (what Wikipedia calls a 'broken bar' or a 'parted rule' rather than a normal 'vertical bar').

    I just want to know how to get Eclipse to act normal again, and what I accidentally did so I don't do it again.