Mat*_*ice 5 java javadoc intellij-idea
这是我写的 javadoc 注释:
/**
* This utility allows the user to do the following.
* <ul>
* <li>A cool feature</li>
* <li>Another cool feature</li>
* </ul>
*/
public static void main(String[] args) {
Run Code Online (Sandbox Code Playgroud)
这是相同的评论,由 IntelliJ 重新格式化
/**
* This utility allows the user to do the following.
* <ul>
* <li>A cool feature</li>
* <li>Another cool feature</li>
* </ul>
*/
public static void main(String[] args) {
Run Code Online (Sandbox Code Playgroud)
如何防止自动套用格式功能破坏我的意图?
为了防止 IntelliJ 删除我的换行符,我选中了一个复选框:
设置 > 编辑器 > 代码样式 > Java > JavaDoc > 保留换行
我希望在同一个地方有一个“保留前导空白”框,但没有。
归档时间: |
|
查看次数: |
1511 次 |
最近记录: |