Looks like I pressed some key combination or something. I cannot capture code as usual. Idea captures not the whole method but text according to the level of the cursor. Does anyone know how to turn on/off this feature? I use ultimate version 2017.1
You've probably enabled Column selection mode
, which on Windows has as default shortcut: ALT + SHIFT + INSERT.
You can also temporarily enable this selection mode, by holding down the ALT key, then clicking and dragging with the mouse over the block of text you want to select, like this:
Take a look at the documentation because there are a few other useful features you can take advantage of.