Weirdness in inspection / highlighting profiles
I really like the fact that you can save inspection / highlighting
profiles. However, I'm not quite sure I like the way they work right
now. Maybe I'm just missing something here. If so, please enlighten me!
The way I expected this to work was:
-- There's always a "current inspection profile" loaded
-- I can edit this profile without altering saved profiles
-- If I like the current settings, I press "save" and enter a name
-- I can also press "load" and select a profile from a list
Instead, this appears to be how it works:
-- There's always a "current inspection profile" loaded
-- If I change anything, it is immediately saved
The drawback to this method is that every single time when I just want
to do some ad hoc inspection for part of my project, I have to remember
to press "copy" to create a new profile so I don't inadvertently destroy
one of my saved favorite profiles. Now and then I forget, and I clear a
number of inspections I don't need right now and add a few other
inspections -- and when the inspection is running, I suddenly realize
that I've messed up an existing profile.
In many places this paradigm of saving settings immediately isn't a
problem. When you're editing code style settings, you're unlikely to
want wildly different settings at different times during the day; you're
either making minor adjustments or creating a completely new profile
that you intend to use for a long time. When you're editing code, you
might make massive changes, but if you do, you rarely intend to keep the
old code too in order to be able to switch back later -- but that is the
case for inspection profiles.
Am I missing some functionality that would help me out here? Any
suggestions or opinions?
Oh, and I can't find any documentation for the "inherit" button. How
does this work?
Please sign in to leave a comment.
Jonas,
You can create your personal base profile and inherit others from it. When
you change smth in base - all derived are changed immediatly.
May be it is a solution for your problem?
BTW does somebody work with "inherit" or do you think that it is redundant?
Thank you.
--
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Anna Kozlova (JetBrains) wrote:
I don't think it is; the problem is that I keep expecting to be able to
make changes to the current profile without saving those changes. I
guess I'll just have to try harder to remember to press "copy" or
"inherit" every time I want to do some ad-hoc inspection.
Am I right - you don't want to save your changes in profile only when you
press 'Run' button?
"Jonas Kvarnström" <jonkv@ida.liu.se> wrote in message
news:429DC70B.8000201@ida.liu.se...
>
When
>
I have inherited my own personal profile, from our agreed-upon team profile.
Anna Kozlova (JetBrains) wrote:
Exactly! I'd like to explicitly save the changes.