1. 把以上片段複制到記事本檔案中,并命名為 任意xml格式檔案 2. 在window->java->code style->code templates下的Code Comments中import該xml檔案即可