편집기에서 자동으로 생성된 "//TODO comments from auto-generated code"글꼴 제거

662 단어
How to remove the//TODO comments from auto-generated code
Eclipse Code Templates are great. Unfortunately they add lots of comments for stuff I don’t like:
public class MainTest {
    /**
     * @param args
     */
    public static void main(String[] args) {
        // TODO Auto-generated method stub
    }
}

If you also don’t like the TODO comments you can change the templates via: Window -> Preferences -> Java -> Code Style -> Code Templates.
In the code tree you have the templates. Select for example Code → Method Body and press “Edit” to edit this template and to remove the todo comment.

좋은 웹페이지 즐겨찾기