IntelliJ Checkstyle & Inspection Profiles
When developing within IntelliJ, there are several configurations that can help with code quality and consistency. In regards to the upcoming work for the new Checkstyle configuration with Mobile-Framework v2.4, IntelliJ can be an invaluable resource to save time and effort in resolving findings by relying on the built-in CodeStyle and Inspections. This is especially true if you use the Shift+Option+Command+L ability to both reformat code, optimize imports, and cleanup code. This command can be performed at the file level or even to an entire project at once to save tons of time.
In this post, I will provide both a CodeStyle scheme and Inspections profile that can be imported into IntelliJ IDEA for usages in projects.
Note: When importing the CodeStyle scheme, this will import at the IDE-level and apply to every project opened in IntelliJ IDEA once selected.
When importing the Inspections profile, this will import at the IDE-level, but will not apply to every project in IntelliJ IDEA. Each project must select the Inspections profile. A bit annoying, but you only have to do it once.
If the CodeStyle scheme or Inspections profile need to be updated, they will apply to all projects that currently use them. Therefore, if there are adjustments made to these configurations they can later be re-imported and will update for all projects automatically.
For the most up to date versions of these files, please visit mobile-framework’s repository.