eclipse使用之插件安装
1、eclipse color theme安装(修改代码颜色配置)
打开如下选项卡:help -> eclipse marketplace -> 搜索eclipse color theme查找到后直接install即可
重启后在preferences -> general -> Appearance -> color theme设置主题
如果您的eclipse中没有eclipse marketplace,则需要手动安装步骤如下:
2、安装eclipse marketplace
打开help -> install new software -> add
输入如下:
name: Eclipse Marketplace (随意起名)
Location:http://download.eclipse.org/mpc/indigo/
等待安装完成即可!重启后就会在help中找到eclipse marketplace
3、find bugs插件安装
通过此插件可以查找到java代码中的一些bug。例如空指针之类的
在 eclipse marketplace中搜索findbugs,然后install即可,项目右击,直接运行find bugs即可。如果存在bug会在项目名后标注有bug的个数,可以通过窗口Bug explorer查看bug详情
注意需要jdk的版本在1.7以上才能使用这个插件