Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to setup IntelliJ to recognize Scala's "???" method as a TODO

I'd like to see all occurrences of ??? in the IntelliJ TODO list (or in any other way to be able to see a list of all unimplemented methods in my Scala project). It seems adding the pattern \b\?\?\?\b.* in the TODO settings doesn't work.

like image 229
Jacob Eckel Avatar asked Jul 27 '15 12:07

Jacob Eckel


1 Answers

Intellij allows you to create custom TODO patterns.

In your TODO window click on the filters icon > Edit Filters > Add new pattern.

Once you add a new pattern Intellij will rescan your project and add the new TODOs to the list.

Official JetBrains TODO Example

Update:

As per comments, I did a quick test and it doesn't look like it's possible to scan for TODOs outside comments.

like image 105
Jelle Avatar answered Oct 02 '22 21:10

Jelle