停止Eclipse关闭和打开引号内新行的引号

我总是有我的多行变量定义如下:

var query = "
    SELECT 
        this AS that 
        CASE something 
    FROM table 
    WHERE something 
"

但在Eclipse ,在Eclipse 3.8.0 Web Tools Platform (WTP)的默认JavaScript Editor中,每次按回车键或粘贴几行时,Eclipse都会添加如下所示的引号:

var query = "
    SELECT 
        this AS that 
        CASE something 
    FROM table " +
        "    JOIN pasted.line1 " +
        "    JOIN pasted.line2 " +
        "    JOIN pasted.line3 " +
        "    JOIN pasted.line4 " +
        "WHERE something 
"

使缩进烦人和标记不符合我个人的口味。

我可以禁用这个特定的“功能”而不禁用其他魔术技巧吗?

链接地址: http://www.djcxy.com/p/90609.html

上一篇: Stop Eclipse from closing and opening quotes on new line inside quotes

下一篇: Eclipse: Set maximum line length for auto formatting?