Files
workspace/notes/软件工具/idea.md
T
2025-06-24 17:31:16 +08:00

13 lines
609 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# IDEA 注释设置行首缩进
## Java 文件注释设置
依次点击菜单 *File -> Settings -> Editor -> Code Style -> Java -> Code Generation*, 去除勾选的 *Line comment at first column* 并勾选 *Add a space at line comment start*, 然后点击 *Apply* 按钮应用设置
![image-20250624155713564](./assets/idea/image-20250624155713564.png)
## Xml 文件注释设置
依次点击菜单 *File -> Settings -> Editor -> Code Style -> XML -> Code Generation*, 勾选如下设置,然后点击 *Apply* 按钮应用设置
![image-20250624155700266](./assets/idea/image-20250624155700266.png)