可以在Help--Install New Software中输入checkstyle的插件地址。 起个名字 checkstyle 输入链接 http://eclipse-cs.sourceforge.net/update