Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/user-interface/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Eclipse 编辑内容辅助(不是模板)?_Eclipse_Content Assist - Fatal编程技术网

Eclipse 编辑内容辅助(不是模板)?

Eclipse 编辑内容辅助(不是模板)?,eclipse,content-assist,Eclipse,Content Assist,这是通过Content Assist生成的代码,用于创建匿名内部类 new ActionListener() { @Override public void actionPerformed(ActionEvent arg0) { // TODO Auto-generated method stub } }; 这是一件小事,但我想编辑

这是通过Content Assist生成的代码,用于创建匿名内部类

new ActionListener()
        {

            @Override
            public void actionPerformed(ActionEvent arg0)
            {
                // TODO Auto-generated method stub

            }
        };

这是一件小事,但我想编辑模板,这样就不会出现
//TODO
消息。我在模板中找不到它,我想知道是否有其他地方可以在内容辅助中编辑生成的代码?

模板位于窗口->首选项->Java->代码样式->代码模板中。您要更改的内容位于代码->方法体中