Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij - what is this strange selection, and how do I turn it off?

See the screenshot below to see what I mean. Basically, Intellij only highlights the box I draw with the cursor, but leaves the rest of the editor untouched. I have no idea why it happens, and the only way to resolve it for now is to close and reopen the editor. I have observed the same behavior on a Linux box and a MacBook, both when editing Java and PHP files, so I am not sure it's a bug.

bad intellij selection is bad

The desired behaviour is standard row selection, i.e. highlight all rows which I drag the cursor over.

like image 855
csvan Avatar asked Jan 15 '14 11:01

csvan


People also ask

How do I turn off IntelliJ warning?

In the Settings/Preferences dialog ( Ctrl+Alt+S ), select Editor | Inspections. Locate the inspection you want to disable, and clear the checkbox next to it. Apply the changes and close the dialog.

How do I get the normal cursor back in IntelliJ?

You can turn off cursor blinking by going to Settings, Editor, General, Appearance and untick Caret blinking .

How do I disable multiple cursors in IntelliJ?

Add or remove carets at selected locations using mouse Alt+Shift+Click at the target location to add another caret. Alt+Shift+Click at one of the multiple carets to remove it.

How do I stop a code in IntelliJ?

You can run a process with ⌃R (macOS), or Shift+F10 (Windows/Linux). To stop a process, you can use ⌘F2 on macOS, or Ctrl+F2 on Windows/Linux.


2 Answers

I think you have enabled 'column selection'.

Option can be toggled via these methods:

Menu Bar -> Edit -> Column selection mode

Document Body -> Right Click -> Column selection mode

Keyboard Shortcut -> ALT + SHIFT + INSERT

like image 162
pveentjer Avatar answered Sep 26 '22 01:09

pveentjer


The column select mode is enabled, use Alt+Shift+Insert to enable or disable this mode.

like image 21
MARWAN AMEEN Avatar answered Sep 23 '22 01:09

MARWAN AMEEN