enter newline in string literal
I just updated to 2016.2 #DB-162.1122.5 and noticed the behavior changed. Before, if I had a string literal like
select * from foo where bar = 'val'
I could put my cursor inside the single quotes and press the enter key, and it would insert a new line, making my string like
select * from foo where bar = 'v
al'
which I liked. Now after updating, it produces
select * from foo where bar = 'v' ||
'al'
How do I enter a newline character inside a string literal without causing this string split + concatenation stuff?
请先登录再写评论。
I subscribe to the issue. This behavior is very annoying. Maybe there is a setting that changes this behavior....
Boom: https://stackoverflow.com/a/42869558/4106215
How can I disable this feature no matter the language? When I press enter within a string, I ALWAYS want to to just insert a newline. I can't stand that it tries to maintain the syntax and inserts a closing quotation mark, + symbol, and new opening quotation mark.
It looks like you're asking how to disable this https://youtrack.jetbrains.com/issue/DBE-2938 feature?