From a8d582d5bd190b136249ab9f0c7be55171cd6f08 Mon Sep 17 00:00:00 2001 From: "Josh (Vicarious)" Date: Fri, 11 Sep 2020 04:20:28 -0700 Subject: [PATCH] Add checkstyle info to readme --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index aed0512a..fa26d738 100644 --- a/README.md +++ b/README.md @@ -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). 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 ![DedicatedMC](https://i.imgur.com/cbWjWFx.png)