DataGrip 2024.1 Help

Code Inspection: TODO comment

Reports TODO comments in your code.

You can configure the format for TODO comments in Settings | Editor | TODO.

Enable the Only warn on TODO comments without any details option to only warn on empty TODO comments, that don't provide any description on the task that should be done. Disable to report all TODO comments.

Suppress an inspection in the editor

  1. Place the caret at the highlighted line and press Alt+Enter or click the Intention action icon.

  2. Click the arrow next to the inspection you want to suppress and select the necessary suppress action.

Last modified: 09 April 2024