IntelliJ IDEA special comments TODO, FIXME, XXX

I. Overview

// TODO: + Explanation:

If there is this mark in the code, it means that there is a function code to be written at the mark, and the function to be realized will be briefly explained in the description.

// FIXME: + Explanation:

If there is this logo in the code, it means that the code at the logo needs to be corrected, or even the code is wrong, cannot work, and needs to be repaired. How to correct it will be briefly explained in the description.

// XXX + Description:

If there is such a comment in the code, it means that although the code at the comment has realized the function, the implementation method is still open to discussion. I hope it can be improved in the future, and the place to be improved will be briefly explained in the description.

Note: XXX is not available by default in idea, but is included by default in eclipse.

2. Add XXX to IDEA

insert image description here
insert image description here

3. Locate the location of the annotation

insert image description here

Guess you like

Origin blog.csdn.net/qq_25775675/article/details/129136915