在DataGrip或IntelliJ数据库编辑器中按Enter时,如何停止SQL拆分字符串文字? [英] How do I stop SQL splitting string literals when I press Enter in DataGrip or IntelliJ Database Editor?

查看:49
本文介绍了在DataGrip或IntelliJ数据库编辑器中按Enter时,如何停止SQL拆分字符串文字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我的光标在IntelliJ数据库控制台中的SQL语句中的右引号之后时,按Enter键,它将关闭当前行的引号,并在换行符上添加带开放引号的串联符号.

When my cursor is after an open quote in a SQL statement in an IntelliJ database console and I press Enter, it closes the quote on the current line and adds a concatenation symbol with an open quote on the newline.

我禁用了格式化SQL代码样式设置的功能,但这并不能解决我的问题.

I disabled formatting the SQL code style settings but that didn't fix it for me.

UPDATE blah SET blah2 = 'something<pressed enter>' ||
  '<argh!>...';

是否可以禁用此自动格式设置?

Is there a way to disable this autoformatting?

推荐答案

这篇关于在DataGrip或IntelliJ数据库编辑器中按Enter时,如何停止SQL拆分字符串文字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆