简体   繁体   中英

IntelliJ Java code style for texts block alignment

I'm looking for the option, or a plugin, that fix this issue on IntelliJ :

When doing multi-line block text, I would like to keep the beginning of the line aligned. Doing auto-reformatting (Ctrl-Alt-L) mis-align the lines :

错误对齐的块文本

I would like it to stay like this :

对齐

I found some option in code-style settings, but nothing that fixed this, even the well named "Align when multiline" in Texts block section. Or I don't know how to make text block !

这是您正在寻找的Binary expressions下的Align when multiline选项

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM