How to stop PHPStorm from concatenating when adding newlines in JavaScript
In my .js file, if I hit enter to create a new line, it automatically adds a quotes and the '+' operator between the lines. But, I just want to add a new line. How to I prevent this?
Thanks!
Chris
Please sign in to leave a comment.
This normally only happens when you hit Enter inside a string literal
Please can you record a screencast that shows up the issue?
Hi Elena,
You're right, I was thinking along the lines of PHP where you can have new lines in a string without a problem. Thanks!
Cheers,
Chris