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

Intellij Idea

Intellij Idea Problem Overview


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.

Intellij Idea Solutions


Solution 1 - Intellij Idea

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

Solution 2 - Intellij Idea

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

Solution 3 - Intellij Idea

Shift-command-8 to toggle it back and forth on OSX.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestioncsvanView Question on Stackoverflow
Solution 1 - Intellij IdeapveentjerView Answer on Stackoverflow
Solution 2 - Intellij IdeaMARWAN AMEENView Answer on Stackoverflow
Solution 3 - Intellij IdeaTiggybooView Answer on Stackoverflow