Which settings are saved under the .idea folder and which are not?

I am confused about which settings are saved into the .idea project folder and which are not.

For example, if I add some File Watchers to the project, I know those are saved into the .idea folder. But if I enable/disable certain plugins, where is that setup saved? Into the project's .idea folder or into the whole IDE?

The goal is to keep more control of what is going on, because when working on the same project with multiple people I get confused with the .idea folder being constantly modified (and affecting my workflow).

JetBrains recommends to keep the .idea folder in the version control system, and I see some good points in that, but I want to be aware of which settings are saved under the .idea folder and which are not?

1 comment
Comment actions Permalink

Hi there,

.idea folder contains this project settings excluding the workspace (like toolwindow sizes and positions; recently opened files and alike stuff that is specific to a person).

https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

The IDE-wide settings will be saved in a separate global place: https://www.jetbrains.com/help/phpstorm/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html

But if I enable/disable certain plugins, where is that setup saved? Into the project's .idea folder or into the whole IDE?

Plugin status is an IDE-wide setting (as currently plugin cannot be enabled on pre-project level). Although some plugins implement own "enable" functionality that allows disabling their functionality in the project (while plugin is still enabled overall).

File Watchers can be global or project specific. Same with Language Injection rules, Inspection profiles etc.

Some project specific stuff can also be "individual" or "shared". Individual will be stored in workspace file (which is user specific) while each shared entry will be stored as an individual file inside .idea folder (e.g. Scopes, Run/Debug Configurations etc)

1

Please sign in to leave a comment.