12 comments
Comment actions Permalink

If stored in project: in project's \.idea\inspectionProfiles.

If stored in IDE: in IDE's config directory\inspection folder.

0
Comment actions Permalink

Those are the Project Inspection profiles. I'm talking about the ones stored in the IDE:

 

0
Comment actions Permalink

Please see a second part of my reply:

If stored in IDE: in IDE's config directory\inspection folder.

0
Comment actions Permalink

Sorry, missed that for some reason.

Anyway, I already checked there and they are not in that folder:

0
Comment actions Permalink

Ok, so we are using the SettingsRepository plugin, which I thought kept a copy here:

C:\users\keithdavis\.PhpStorm2019.2\config\settingsRepository\repository\inspection

 

But I guess that is not a copy, but the original? The reason I thought it was a copy, is I'm trying to make bulk changes to these, but those changes are not being reflected in the IDE (and yes, I have the IDE closed when making these changes). 

0
Comment actions Permalink

Ah, in that case you should edit the settings located at "Upstream URL" location in File | Settings Repository.

Then do the "Overwrite local" there.

 

0
Comment actions Permalink

I don't understand. I've used that before, but in this case, what is the "local" that is being overwritten? I am editing the only "local" version of that - how where else would it be getting those settings from?

0
Comment actions Permalink

Sorry, wrong advice.

Yes, you should be able to edit the \.PhpStorm2019.2\config\settingsRepository\repository\inspection files & the changes should propagate. 

 

0
Comment actions Permalink

Ok, that's what I thought, but that did not happen. I just wanted to make sure before I banged my head against a wall. I'll try again, thanks.

0
Comment actions Permalink

There is still one piece that I don't understand. Where is the Project Default profile stored before it a project is created? I realize that once a new project is created, a copy of that is put in the \.idea\inspectionProfiles folder, but where does that come from? The Default.xml file in \config\settingsRepository\repository\inspection is just this:

<inspections profile_name="Default" version="1.0">
<option name="myName" value="Default" />
</inspections>

0
Comment actions Permalink

but where does that come from?

Do I get right that you expect all inspection settings that are default to be listed there? If so, it's not the case, the default state is defined per each inspection in the code itself, you can look at it directly.

0
Comment actions Permalink

I am just trying to figure out out the Project Default profile is generated and how to change that.

0

Please sign in to leave a comment.