how to change behaviour of duplicate line(s)
Hi,
This is how it works in phpStorm:
- duplicate line with no text selected - duplicates the whole line
- duplicate line with text selected (does not matter single or multiple lines) - it will duplicate only selection
This is how I would like it to work (and as it works in Eclipse):
- duplicate line with no text selected - duplicates the whole line
- duplicate line with text selected in multiple lines - duplicate all lines including new lines
- duplcate line with text selected in single line - duplicate selected text - this could be nice, but I don't really care for it
PhpStorm is great tool but I am still strugling with this behaviour. I know that maybe Eclipse was an exception with this behaviour but still for me it was more usable.
Sooo the question is: is it possible to get this kind of behaviour in phpStorm?
Tried searching setting - could not find it. What else could be done?
Thanks!
Please sign in to leave a comment.
Hi there,
Yes and No.
Yes, you can; but not with the same shortcut (for all 3 desired behaviours).
This is briliant. I cannot believe I did not find it before.
Thanks a lot!