phpStorm config file similar to "gitignore" or "babelrc"?

Hello guys,

I have been using phpStorm for more than 7 years and I switched multiple computers, reinstalled operating systems and had to set up my project from the scratch.

I had to set up:

  • excluded files
  • resource roots
  • various project settings

Isn't there a way how to commit such option with the project? For example similar to ".env", ".gitattributes" or ".babelrc"?

p.s.: I have always put ".idea" folder into git ignores - maybe this is the folder containing all such settings appliable for all developers on the project?

Thanks!

1 comment
Comment actions Permalink

I have always put ".idea" folder into git ignores - maybe this is the folder containing all such settings appliable for all developers on the project?

Yep, this is the correct assumption. There are certain guidelines on what can and what can't be shared through the .idea directory, please check this article:
https://www.jetbrains.com/help/phpstorm/creating-and-managing-projects.html#share-project-through-vcs

excluded files

They go to .idea/projectName.iml.

resource roots

And they go to .idea/webResources.xml.

0

Please sign in to leave a comment.