MultiCursor in 2017.1.4

Answered

I've just updated to 2017.1.4, was previously using a 2016 version. I've found the behaviour of the multicursor seems to have changed in what, for me, is an undesirable way, and I would like to get the old behaviour back. I'm hoping there's a setting somewhere that I can adjust.

For example, I copy a HTML form input, and I want to change the name, ID, and the for attribute on the matching label in one go.

Previously, I would alt-double-click each item, and type in the new name, and all the attributes would change.

Now, when I start typing, it only types at the position of the first selection.

I've noticed that when I hit backspace it deletes in all 3 positions, and when I make a new line or add tabs it types in all 3 positions, but anything else only affects the first cursor. The only way I can see to do this is write the new name once, copy it, then set up my multiple selections and hit ctrl+v to paste it into the other two positions.

How can I get back to the previous behaviour where I can just alt-click in as many locations as I want and type whatever I want in all those locations at once?

 

0
2 comments

Can't reproduce the same. Does this occur on some particular file (html/php)/tag?

Did you try File > Invalidate Caches & Restart?

 

 

1

Aha - that seems to have sorted it. Many thanks!

1

Please sign in to leave a comment.