Inspection profiles
Answered
Sorry but I don't get it :-(
For what is the "Default" profile? Default: This local (IDE level) profile is intended for personal use, applies to all projects But it looks that it's settings are not appearing in my project. Only settings from the "Project Default" profile are happen in my project.
And how can I sync the "Project Default" profile with my other computers? I use the "settings repository" feature but the "Project Default" xml file is not in this repository :-(
Ralph
Android Studio 2.2.2
Build #AI-145.3360264, built on October 18, 2016
JRE: 1.8.0_112-release-b05 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Please sign in to leave a comment.
Note to the second question: I would like to create a default "Project Default" profile and sync it via the settings repository that all new created projects on all of my computers have the same profile.
Settings Repository synchronizes IDE settings, not project settings.
If you make your inspections profile project specific, it should be synchronized with the project, see https://intellij-support.jetbrains.com/hc/articles/206544839. Every user who opens this project after checkout will have the same inspections profile enabled. It's the same approach as we are using inside IntelliJ IDEA team for IntelliJ IDEA project itself.
If you choose to use IDE Default inspections profile, you can synchronize it between multiple machines via the Settings Repository plug-in and the file is stored in ~/(IDE settings dir)/config/inspection/<profile_name>.xml.
Note that Global profile may have a different name. You can copy your current project profile to Global (Set as Global in the Manage menu) and name it like you want:
In any case, you will find the corresponding XML file for your Global profile under ~/(IDE settings dir)/config/inspection/ directory.
Then go to File | Other Settings | Default settings and select this global profile as the default one for all the new projects.
Now all your new projects will use this global profile by default and this global profile will be synchronized between your machines via the Settings Repository plug-in.