Skip to content
Advertisement

Escaping someway the Todo keyword in IntelliJ IDEA

I’m developing an example of web application (in Java) which is used to manage Todo tasks. Thus I have an entity called Todo and obviously in many comments I use the Todo word referring to my Todo entity (not to a TODO item regarding the code), e.g.

/**
 * Todo entity model.
 */
@Entity
public class Todo {

in result I’m getting this warning from IntelliJ IDEA

Warning:(*, 2) Complete the task associated to this TODO comment.

I’ve tried to use {@code Todo} and {@literal Todo}, but the warning does not disappear. How can I escape the Todo keyword in order to get rid of warnings from IDEA?

Advertisement

Answer

You could change the todo setting for IDEA …

File -> Settings -> Editor -> TODO – adjust the btodob.* entry: either remove it or perhaps change to uppercase and enable the case-sensitive option.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement