插件
1 spket 它是eclipse插件,开发有成效,创造高效率的javascript代码。
配置过程如下(spket压缩包):
- 附件压缩包解压到自己的eclipse目录。
- 重启eclipse
- 设置js文件默认编辑器,Window >> Preferences >> General >> Editors >> File Associations
2 jad 查看架包源代码
配置过程如下(jad压缩包):
- 首先,找到eclipse安装根目录,创建一个文件夹(jad),将jad.exe放入其中
- 其次,找到plugins目录,将指定的解析架包(net.sf.jadclipse_3.3.0.jar)放入其中
- 然后eclipse重启,Window >> Preferences >>搜索jad,其中Path to decompiler中设置jad.exe的存放路径;Directory for temporary files中设置缓存,在本地专门建一个目录,存放,配置其地址,重启eclipse即可。
如果不能使用,无法反编译,则需要设置默认打开源文件的方式打开eclipse,Window >> Preferences >>搜索file,选择file types 是class without source的选项,设置打开方式,选择jadClipse Class file viewer,点击默认按钮default。