Home > Backend Development > PHP Tutorial > 如何在phpstorm中格式化php文件里的SQL?

如何在phpstorm中格式化php文件里的SQL?

WBOY
Release: 2016-06-06 20:10:01
Original
2734 people have browsed it

RT,phpstorm中php的格式化都很ok,但是遇到很长的SQL字符串时,却很丑的顶在了每一行的开头,不能自动缩进,请问有方法么?

除了手动在SQL console里alt+f8然后粘贴再tab?

回复内容:

RT,phpstorm中php的格式化都很ok,但是遇到很长的SQL字符串时,却很丑的顶在了每一行的开头,不能自动缩进,请问有方法么?

除了手动在SQL console里alt+f8然后粘贴再tab?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template