You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy from the installed Checkstyle-IDEA plugin. Again note the Checkstyle version that you are using and open the corresponding Checkstyle JAR. The google_checks.xml is in its root.
On Windows, the JAR would be at %HOME%\.IntelliJIdea2018.2\config\plugins\CheckStyle-IDEA\checkstyle\lib\checkstyle-8.12.jar (for version 8.12).
The Checkstyle version is important because the config file syntax changes frequently, options are added and removed etc.
I am currently using the Bundled Google Checks and I want to import it into IDEA for formatting (#126) and also be able to run checkstyle from Gradle.
There doesn't seem to be an obvious way to export or save the checkstyle config to a file to do this.
I could just download it manually (https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml) but it would be nicer to have the option built into the plugin.
The text was updated successfully, but these errors were encountered: