I'm editing SQL in a *.sql file for SQL Server. When I hit Enter to split a SQL string in two lines:
INSERT INTO foo (bar) VALUES ('This is a line');
-- Cursor here: |
... PhpStorm will always close the string and insert a concatenation operator:
INSERT INTO foo (bar) VALUES ('This is' +
' a line');
Is there a keyboard-shortcut to just insert a line feed?
INSERT INTO foo (bar) VALUES ('This is
a line');
Settings/Preferences
Editor | General | Smart Keys
SQL --> Insert string concatenation on Enter
option