Problem:
In my manifest my application word was having Yellow Background, when I do Alt+Enter it gives me above options, I clicked Disable inspection just to check it, but when I do Alt+enter, but again after doing alt+enter I didn’t get any option for getting it enabled?
After clicking Disable Inspection, I am not getting any option for Enable Inspection, Is there any way to get Enabled again?
You can find and disable/enable all inspections here.
For your situation, you have to find and make selected this two:
Answer:
If your project is under version control, you might notice that .idea/inspectionProfiles/Project_Default.xml
and .idea/inspectionProfiles/profiles_settings.xml
were either added or changed. You could just reset or remove those files (Making sure to only reset the parts you want to re-enable.)
Answer:
If you want to restore all inspections to default, you can go to:
File > Settings > Inspections >
Click on Advanced Settings
and Reset to Default Settings
Answer:
I found this on google, why dont you try this out:
Answer:
Go to File -> Setting -> Editor -> Inspection and mark which inspection that you want to enable.
Answer:
If you haven’t closed IntelliJ yet,
Menu File→Settings Repository...→Overwrite Local will restore a backup of your settings, including the just disabled inspection.
This is effectively an ‘undo’ but you need to have prepared a settings repository in advance for it to work. If you haven’t done this yet, you’re on your own, and I suggest you make one now for future accidents (and as a bonus, for sharing settings among multiple computers).