I use CTRL-W to select this code:
Then, CTRL-ALT-T to surround with a DIV tag.
So, I type "div" and then ENTER and I get this:
But I want this formatiing
I do not want to separate the DIV tag to new lines manually.
Is there a QUICK shortcut to achieve this while entering the TAG?
P.S. I know I can do CTRL-ALT-L afterwards to reformat code
, but I wonder if there is an immediate way to achieve the above (I assume common) case.