Default vs Project Default Inspections

Answered

I'm evaluating Intellij IDEA Ultimate 2016.1 on Mac OS/X 10.11.4. I work on many projects in many languages, both at work and for myself, so I try hard to understand how tools work.

I applaud the developers for making Intellij very configurable. It's wonderful. Most of the time it's also wonderfully intuitive. But the difference between "Default" inspections and "Project Default" inspections is not intuitive and not explained well in the help.

Short version of question: When would I ever use the "Project Default" profile? Why not just make a copy of the "Default" profile and give it a meaningful name?  

Long version of question: I'm convinced the tools lies when it says "For Current Project" when you are editing any of these profiles. For example, if you change an inspection in the "Default" profile it will be changed in File / Other Settings / Default Settings and will be changed in any new projects you open. Same if you change an inspection in the "Project Default" profile: it will be changed in File / Other Settings / Default Settings and will be changed in any new projects you open. But changes to profiles do not affect each other. So it's just two independent sets of defaults, which is irritating as hell. What if my change should really apply everywhere? I have to change it twice.

It gets worse if you make your own copy of one of these profiles. Changes to the copy are global - meaning you'll see them in any new project you create - which is a good thing, cause you don't have to re-customize. But now you have three independent sets of defaults. And so on.

So I would ask that this be documented better, and consider eliminating "Project Default" entirely since it just adds confusion and no real value. 

 

2 comments

Please check the following issues:

https://youtrack.jetbrains.com/issue/IDEA-154618
https://youtrack.jetbrains.com/issue/IDEA-106966

They seem to cover most of your concerns.

Thanks for the feedback, hope it will be improved soon.

0

I don't really understand this either...

0

Please sign in to leave a comment.