Is it possible to use multiline todo's in IntelliJ IDEA?

jhegedus picture jhegedus · Feb 27, 2014 · Viewed 24.6k times · Source

If yes, how ?

If not, is there a workaround to get similar functionality ?

EDIT:

What I mean is something like this :

// TODO line1
// line2
// line3

and line1, line2, line3 belong to the same TODO and get highlighted with blue.

Answer

congusbongus picture congusbongus · Nov 25, 2018

This is supported since 2018.3.

Multiline TODO comments

Multiline TODO comments

IntelliJ IDEA 2018.3 now supports multiline TODO comments, now the first and all subsequent TODO comment lines are highlighted in the editor and listed in the TODO Tool Window. Simply add an indent starting from the second line of your multiline TODO comment, and the IDE will differentiate it from an ordinary comment.