Annotations as TODOs

Answered

Hello,

Is it possible to include certain annotations as TODO items?

Let's say that I have an annotation @Cleanup for code that should be refactored. I would like this annotations ( and similar ones) to be treated as todos and showed in the TODO window. Is it possible? 

I checked the settings and found the option to include custom patterns https://www.jetbrains.com/help/idea/using-todo.html#add_pattern_filter_todo , but if I understand it correctly, this only applies to comments, right?

Is there a way to include annotations and in general other things than comments? I know that for example Kotlin's TODO function is treated as TODO, but I haven't found where in the settings this is configured. Or is it hardcoded?

Best regards,

David

0
2 comments

Done. Thank you for informing me about that issue, I missed it when I was searching.

0

Please sign in to leave a comment.