var foo = "bar";
I want to be able to surround foo with console.log(); and have it added to a new line, whilst maintaining the structure of the original line above.
Is this possible?
I've used console.log($SELECTION$); but that uses the actual var and results in
var console.log(foo); = "bar";
Can anyone shed some light on how to do this, if it's possible?
Original message URL: http://devnet.jetbrains.net/message/5490920#5490920