【发布时间】:2014-06-22 01:31:03
【问题描述】:
我正在与另一个人一起进行项目,教授希望该项目具有统一的代码风格。我们自己编写了大量独立的代码,其中一个编写了单行 cmets,在单行注释标记之间没有空格,另一个插入了空格。我们正在使用 IntelliJ,但未能找到启用 Reformat Code 功能以插入空格的选项。
TLDR: 您能告诉我们如何在 IntelliJ 中将 cmets 转换为 this 吗?
// This is a load bearing comment - don't dare to remove it
//This is a load bearing comment - don't dare to remove it!
【问题讨论】:
标签: intellij-idea coding-style ide reformat reformatting