How to config intellij-idea not format some part of the code?

后端 未结 4 1280
借酒劲吻你
借酒劲吻你 2021-02-05 00:54

In a html file, there is some code used custom template-language:



        
4条回答
  •  借酒劲吻你
    2021-02-05 01:31

    It's worth noting that the formatter control does not appear to work in javadoc comments. It needs to be either in a regular C or C++-style comment. So // @formatter:off works /* @formatter:off */ also works, but /** @formatter:off */ does not.

提交回复
热议问题