從軟件中心安裝的話安裝位置在/usr/lib/eclipse中。需要root權限進行操作(sudo)。
使用checkstyle插件能很好的檢查文筆,把光標移至黃色標識上方,就會出現提示。
簡單說下checkstyle安裝方法。在help->install new software中add http://eclipse-cs.sourceforge.net/update
然後選擇CheckStyle安裝即可。
裝好後可以去window-> preference中配置。並要到要開啓style檢查的project中右鍵property->checkstyle->active。
同理可通過 http://findbugs.cs.umd.edu/eclipse 安裝FindBugs
哦了。