自定义eclipse新类模板

AZ_*_*AZ_ 14 java eclipse templates

我希望Eclipse在创建新类时添加以下注释.如何创建这样的模板?

// ===========================================================
// Constants
// ===========================================================

// ===========================================================
// Fields
// ===========================================================


// ===========================================================
// Constructors
// ===========================================================



// ===========================================================
// Getter & Setter
// ===========================================================

// ===========================================================
// Methods for/from SuperClass/Interfaces
// ===========================================================



// ===========================================================
// Methods
// ===========================================================

// ===========================================================
// Inner and Anonymous Classes
// ===========================================================
Run Code Online (Sandbox Code Playgroud)

JB *_*zet 19

窗口 - 首选项 - Java - 代码样式 - 代码模板 - 类主体 - 编辑

在首选项窗口树上方的搜索框中键入"模板"是查找所需内容的好方法