Eclipse–>Window–>Preferences–>Java–>Editor–>Typing下的Escape text whenpasting into a string literal打勾
得出的结果例子: 当然,也可以找第三方插件工具,如多行原生sql就很需要这种工具了。
注意:部分文案/图片等来源网络 如有侵权请联系删除