jddreams

配置IDEA:格式化HTML代码

问题:

在IntelliJ Idea中对Ctrl+Alt+L格式化HTML代码时,代码不会自动缩进。

解决方法:

File -> Settings -> Editor -> Code Style -> HTML -> Other标签下找到 Do not indent children of
删掉html、head、body就可以了

分类:

技术点:

相关文章:

  • 2021-09-08
  • 2022-12-23
  • 2021-10-07
  • 2021-08-27
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-25
  • 2021-08-23
  • 2022-12-23
  • 2022-02-22
相关资源
相似解决方案