“Eclipse自动化规约”的版本间的差异
(→jsp) |
(→xml) |
||
| (未显示同一用户的2个中间版本) | |||
| 第12行: | 第12行: | ||
* [ftp://ftpuser@47.92.209.132/leon-ecllipse-style/leon-js-formatter-1.0.xml leon-js-formatter-1.0.xml] | * [ftp://ftpuser@47.92.209.132/leon-ecllipse-style/leon-js-formatter-1.0.xml leon-js-formatter-1.0.xml] | ||
==== xml ==== | ==== xml ==== | ||
| − | + | [[文件:企业微信截图 15980731981830.png|居中]] | |
| − | [[文件: | ||
==== jsp ==== | ==== jsp ==== | ||
| 第48行: | 第47行: | ||
* target | * target | ||
* rebel.xml | * rebel.xml | ||
| + | |||
| + | |||
| + | ===Ali-CodeAnmalysls-plugin插件=== | ||
| + | [必 须] | ||
| + | 请安装Ali-CodeAnmalysls插件 | ||
| + | 提交代码前,必须通过阿里编码规约扫描测试通过没有错误。 | ||
| + | * [ftp://ftpuser@47.92.209.132/eclipse/Ali-CodeAnmalysls-plugin.zip Ali-CodeAnmalysls-plugin.zip] | ||
| + | |||
| + | * 在线安装地址:https://p3c.alibaba.com/plugin/eclipse/update | ||
===Find-Bugs插件=== | ===Find-Bugs插件=== | ||
| 第55行: | 第63行: | ||
请安装Find Bugs插件 | 请安装Find Bugs插件 | ||
| − | + | 提交代码前,必须通过Find Bugs测试通过没有警告。 | |
Find Bugs并不能找出所有Bug,它只是自动化工作的一部分。 | Find Bugs并不能找出所有Bug,它只是自动化工作的一部分。 | ||
2020年8月22日 (六) 13:14的最新版本
目录
IDE自动化
Eclipse
[必 须]
请导入以下4个文件至Eclipse:
- leon-java-codetemplates-1.0.xml
- leon-java-formatter-1.0.xml
- leon-js-codetemplates-1.0.xml
- leon-js-formatter-1.0.xml
xml
jsp
jsp页码使用以下配置进行格式化:
在把源代码提交到版本控制器前,必须保证源代码符合定义
使用Ctrl + Shirt + F执行格式化
Maven
Maven Settings文件:
注意:文件中Maven本地库默认配置在D:/Leon/maven/repository
<localRepository>D:/Leon/maven/repository</localRepository>maven忽略项
SVN忽略项
Eclipse -> Window -> Preferences -> Team -> Ignored Resources中添加以下忽略项:
- .classpath
- .project
- .settings
- target
- rebel.xml
Ali-CodeAnmalysls-plugin插件
[必 须] 请安装Ali-CodeAnmalysls插件 提交代码前,必须通过阿里编码规约扫描测试通过没有错误。
Find-Bugs插件
[必 须]
请安装Find Bugs插件
提交代码前,必须通过Find Bugs测试通过没有警告。
Find Bugs并不能找出所有Bug,它只是自动化工作的一部分。
Eclipse Explorer 插件
从Eclipse项目中快速跳转到Windows资源管理器的对应目录。
注意:新版的Eclipse无需安装此插件,可通过右键菜单 -> Show In -> System Explorer实现相同功能。

