That is exactly what sublime could do, in your case you would enter the following (in sublime)
CTRL-A
CTRL-L
list.add("
END
");
I havent checked out intellij's shortcuts to do this yet