The automatically generated code using the eclipse shortcut key often has such annotations.
At a glance, this comment is no different from the general comment, but the todo string has different colors and should have some content. Todo is a task label provided by eclipse to mark some tasks to be done. Let's take a look at the labels in Eclipse:
Step 1: window-> preference-> JAVA-> complier-> task tags
You can see that these labels can be configured by the user. There are three priorities: High, General, and low. The dialog box contains a tag that is case sensitive. It is checked by default. If you do not like these automatically generated tags, you can remove them by yourself:
Step 1: window-> preference-> JAVA-> code style-> code templates
Step 2: code-> method body, select edit, and delete the line "// $ {todo} auto-generated method stub ".
In the previous article, eclipse usage and tips 12: quickly copy a line:
Http://blog.csdn.net/ts1122/article/details/8977670
In the next article, eclipse 14: automatically generated todo annotations 2:
Http://blog.csdn.net/ts1122/article/details/9018907