Artem Kornilov reports:
Changes to options of inspections that are on by default can not be persisted
Start IDEA
Open settings
Switch to Errors
Open default "EditorHighlightingSettings" profile
Make sure inspection "Data flow issues" > "Redundant local variable" is turned on
Make sure in inspection "Data flow issues" > "Redundant local variable" option "Ignore immediately returned or thrown
variables" is turned OFF
Copy default "EditorHighlightingSettings" profile under new name "Test"
Turned ON option "Ignore immediately returned or thrown variables" of inspection "Data flow issues" > "Redundant local
variable" in profile "Test"
Click Ok to close inspection profile editing and settings saving all the changes
Restart IDEA
Open settings
Switch to Errors
Open default "Test" profile
Make sure in inspection "Data flow issues" > "Redundant local variable" option "Ignore immediately returned or thrown
variables" is turned ON
For me it is turned OFF
Basically I can not change options of any inspections that is turned ON by default
Previously I have identified and submitted number of defects related to inspections and batch inspections. Together they
are seriously affecting the roll out of IntelliJ IDEA at the company I work for.