问题
I always have my multi-line variables defined like this:
var query = "\
SELECT \
this AS that \
CASE something \
FROM table \
WHERE something \
"
But in Eclipse
, in the default JavaScript Editor
in Eclipse 3.8.0 Web Tools Platform
(WTP), everytime I press return, or paste a couple of lines, Eclipse will add quotes like this:
var query = "\
SELECT \
this AS that \
CASE something \
FROM table \" +
" JOIN pasted.line1 \" +
" JOIN pasted.line2 \" +
" JOIN pasted.line3 \" +
" JOIN pasted.line4 \" +
"WHERE something \
"
Making the indentation annoying and markup not to my personal taste.
Can I disable this specific 'feature' without disabling other tricks of wizardry?
来源:https://stackoverflow.com/questions/14751338/stop-eclipse-from-closing-and-opening-quotes-on-new-line-inside-quotes