In IntelliJ 12, the FIXME comment is regarded as a normal comment with typo. How to make it known by IntelliJ IDEA just like TODO comment?
In the Settings/Preferences dialog ( Ctrl+Alt+S ), select Editor | TODO. Use a regular expression to specify a custom pattern. This matches the word "optimize" ( \b designates word boundaries) and allows any number of other characters in the comment. Then click OK to save the new pattern.
To create a TODO commentPlace the caret where you want to create a TODO item and add a comment, for example, by pressing Ctrl+/ , then type TODO or FIXME , and then type your note. View the list of TODO items in the TODO tool window.
First, expand all the todos (view the side menu or by pressing CTRL + numpad + . Then just start typing, and IntelliJ will take you to the first place the string you searched for appears, be it a name of a folder, file or the text of the todo comment itself.
Add a new commentType /** before a declaration and press Enter . The IDE auto-completes the doc comment for you.
TODO
patternIn Settings/TODO press '+' to add a pattern, add the following pattern: \bfixme\b.*
, assign an icon if necessary, apply changes. This should solve your issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With