0

I am using Intellij to perform code cleanups . I just want to skip the comments from being scanned / checked I want to avoid that.

Thanks ,

user_D_A__
  • 460
  • 2
  • 6
  • 14

2 Answers2

0

Maybe not what your looking for, but I hope this might help

  • Activate Formatter Control in Comments: File/Settings... / Editor / Code Styles
  • Replace your Comments (regex could help a lot here)

  • // @formatter:off
    your comments...
    // @formatter:on

enter image description here

also see this answer

hce
  • 1,107
  • 9
  • 25
0

Code cleanup in IDEA is a batch run of inspections, can you please give an example where you want the code not to be changed? Probably that can be done simply by excluding the particular inspection from the Inspection profile during cleanup.

Olga Klisho
  • 1,206
  • 5
  • 7