Skip to content

Commit 0648887

Browse files
lexburnerlovepoem
authored andcommitted
add the notice of checkstyle (#2983)
* add the notice of code style * modify the pic * del teh faq.md, move to dubbo-website
1 parent 99632b3 commit 0648887

File tree

3 files changed

+11
-26
lines changed

3 files changed

+11
-26
lines changed

CONTRIBUTING.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,14 @@ Thanks for contributing!
6363
### Code style
6464

6565
We provide a template file [dubbo_codestyle_for_idea.xml](https://github.com/apache/incubator-dubbo/tree/master/codestyle/dubbo_codestyle_for_idea.xml) for IntelliJ idea, you can import it to you IDE.
66-
If you use Eclipse you can config manually by referencing the same file.
66+
If you use Eclipse you can config manually by referencing the same file.
67+
68+
**NOTICE**
69+
70+
It is very important to set the dubbo_codestyle_for_idea.xml, otherwise you will fail to pass the Travis CI. Steps to set the code style are as below:
71+
72+
1. Enter `Editor > Code Style`
73+
2. To manage a code style scheme, in the Code Style page, select the desired scheme from the drop-down list, and click ![manage profiles](codestyle/manage_profiles.png).
74+
From the drop-down list, select `Import Scheme`, then select this option `IntelliJ IDEA code style XML` to import scheme
75+
3. In the Scheme field, type the name of the new scheme and press ⏎ to save the changes.
76+

FAQ.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

codestyle/manage_profiles.png

430 Bytes
Loading

0 commit comments

Comments
 (0)