IDEA中html注释 不要顶格 设置缩进 1.默认情况下,idea中html的注释是顶格的 2.如何取消顶格?设置自动空格? 打开设置-code style - html - 取消下图中的两个勾选项 3.设置后效果如下: