IC ignoring IntelliJ formatter comments

Issue #891 new
George Doenlen created an issue

Hi when using intellij formatter comments // @formatter:on and // @formatter:off it seems like IC is ignoring them when pressing ctrl + alt + L and still formatting the code between the comments. I double checked and my settings -> code style -> enable formatter markers in comments is enabled. I also double checked other non-IC projects I have (kotlin/java) and it is working properly.

Comments (2)

  1. Scott Wells repo owner

    Ah, interesting. Thanks for filing. I suppose I have to do something explicit in the custom Apex formatter to respect those. I'll take a look.

  2. Log in to comment