Add checkstyle info to readme

This commit is contained in:
Josh (Vicarious) authored and GitHub committed 2020-09-11 04:20:28 -07:00
1 parent 6235f30947
commit a8d582d5bd
1 file changed
+8
+8
View File
@@ -7,6 +7,14 @@ Currently there are no releases, all jars are dev builds, which can be found [he
Support is given through [GitHub Issues](https://github.com/Hexaoxide/Carbon/issues) and [Discord](https://discord.gg/S8s75Yf). Support is given through [GitHub Issues](https://github.com/Hexaoxide/Carbon/issues) and [Discord](https://discord.gg/S8s75Yf).
Please use the discord for help setting up the plugin, and use issues for bug reports. Please use the discord for help setting up the plugin, and use issues for bug reports.
### Checkstyle
Carbon uses (a fork of) checkstyle to ensure code style is consistent across the entire project.
For checkstyle support in IDEA:
1) Install the checkstyle plugin (https://github.com/jshiell/checkstyle-idea)
2) Compile https://gitlab.com/stellardrift/stylecheck
3) `Settings` -> `Tools` -> `Checkstyle` `Third-Party Checks`, add the compiled stylecheck jar
4) While still in the `Checkstyle` tab, go to `Configuration File`, add `.checkstyle/checkstyle.xml` and tick the check box.
### Partner ### Partner
![DedicatedMC](https://i.imgur.com/cbWjWFx.png) ![DedicatedMC](https://i.imgur.com/cbWjWFx.png)