How to go to the next line while entering live template variable?
Answered
When I expand a live template in my code I want a variable value to be a multiline text. So how do I go to new line while still entering variable value?
Please sign in to leave a comment.
Hello Nick,
Please use "Shift+ Enter".
Hi, Yaroslav.
Doesn't work.
When I press Shift+Enter I'm entering next line and value is still highlighted on a previous line, but when I continue typing variable focus gets lost. I'd like to have a multiline variable value instead.
I'm using Mac OS.
Nick,
Try "Ctrl+Enter" and then "Shift+Enter". It works fine for me.
Yaroslav, when pressing "Ctrl+Enter" a "Generate" context menu pops up, so "Shift+Enter" doesn't work in that mode.
What is your "Ctrl+Enter" shortcut mapped to?
I'm writing an SQL script on Mac OS.
Nick,
It should by "Meta+Enter" on Mac (Split line)