IntelliJ TODO, FIXME not working

已回答

Hi. I don't know which version it is from, but TODO and FIXME comments do not work after the update. But, NOTE comments works very well.

todo

fixme

note

Looking at the above screenshot, I think it's because NOTE has Android Comments in Live Templates set up.

Editor > TODO

As you can see, the TODO settings are the same as before.

Editor > Live Templates

The difference between “TODO, FIXME” and “NOTE” is that the Android Comments of the Live Template are set up.
 

Just a while ago, TODO and FIXME were both auto-completed well, does anyone know why not now?

IntelliJ Info.

IntelliJ IDEA 2024.1 (Ultimate Edition)

Build #IU-241.14494.240, built on March 28, 2024

Runtime version: 17.0.10+8-b1207.12 aarch64 (241.0.11)

1

Jan Novotný 

Unfortunately, it looks like a bug that hasn't been fixed yet.

0

Hi eastglow 

The lines are automatically recognized as TODOs and FIXMEs if you prepend them with a comment:

But there are no default live templates for todo and fixme. I checked a few versions back to make sure that it is the case.

It could be that you had custom live templates set up for these guys, and they disappeared for some reason, in which case you can just add them back via File | Settings | Editor | Live Templates.

1

Arina Efremova 

First of all, thank you for your detailed reply. I don't know the exact version, but I didn't understand well that “TODO/FIXME” suddenly disappeared after a certain version, so I asked the question. If necessary, I will use it by adding “Live Templates” as your comment. Hope you have a good day.

0

I think that this is happening after installing a plugin. I am experiencing the same issue.

0

Muhammed Gokdemir, eastglow, most likely, you used the todo Live Template associated with the AndroidComments. Some time ago, we unbundled the Android plugin, and this Live Template is no longer available by default. You could either set up the Live Template by yourself or install the Android plugin in the IDE.

0

请先登录再写评论。