Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
specification
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
document-repository
specification
Commits
58716ee9
Commit
58716ee9
authored
Dec 09, 2020
by
wb-ct393452
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit-Message-Create
parent
d3e10c88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
37 deletions
+2
-37
java开发规范/开发工具和插件使用指南.md
java开发规范/开发工具和插件使用指南.md
+2
-37
No files found.
java开发规范/开发工具和插件使用指南.md
View file @
58716ee9
...
@@ -98,29 +98,8 @@
...
@@ -98,29 +98,8 @@
!
[
4
](
https://i.loli.net/2019/02/11/5c618f42bc1bb.jpg
)
!
[
4
](
https://i.loli.net/2019/02/11/5c618f42bc1bb.jpg
)
## [强制] Check Style插件
Check Style代码格式检查
## [推荐] Find Bugs插件
1.
打开 File >> Settings >> Plugins 在搜索栏检索CheckStyle, 点击安装
!
[
22
](
https://i.loli.net/2019/02/11/5c619030550e8.jpg
)
2.
配置ali check style文件 提供ali check style simple.xml 和 ali check style strict.xml,ali check style simple是必需的,有信息可以尝试ali check style strict
!
[
22
](
https://i.loli.net/2019/02/11/5c61904d613dc.jpg
)
3.
在待检查文件内使用右键或者在底部工具栏选择checkStyle-IDE运行格式检查,在运行前可以使用快捷键全文件格式化一次
!
[
22
](
https://i.loli.net/2019/02/11/5c619070ec0bd.jpg
)
!
[
22
](
https://i.loli.net/2019/02/11/5c6190912798b.jpg
)
4.
File >> Setting >> Editor >> Code Style 载入ali check style simple.xml 或者 ali check style strict.xml 可实现代码按照标准格式化
!
[
5
](
https://i.loli.net/2019/02/12/5c624193b9c5e.jpg
)
## [强制] Find Bugs插件
Java静态分析工具Find Bugs插件可以帮助发现一些隐藏的bug。需要说明的是,Find Bugs插件发现的bug有时可能会产生误告警
Java静态分析工具Find Bugs插件可以帮助发现一些隐藏的bug。需要说明的是,Find Bugs插件发现的bug有时可能会产生误告警
...
@@ -360,23 +339,9 @@ Git作为分布式版本管理系统
...
@@ -360,23 +339,9 @@ Git作为分布式版本管理系统
!
[
27
](
https://i.loli.net/2019/02/11/5c619201c56c1.jpg
)
!
[
27
](
https://i.loli.net/2019/02/11/5c619201c56c1.jpg
)
4.
安装Commit
Message Template确保提交使用统一模板
4.
安装Commit
-Message-Create确保提交使用统一模板 建议使用 Commit-Message-Create
!
[
34
](
https://i.loli.net/2019/02/12/5c6234f2e7032.jpg
)
5.
设置模板
copy
```
<type>(<scope>): <subject>
<body>
<footer>
```
!
[
34
](
https://i.loli.net/2019/02/12/5c624008c3dc1.jpg
)
6.
提交时 请确保这些选项被选中
6.
提交时 请确保这些选项被选中
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment