Weblurk
Weblurk

Reputation: 6802

PhpStorm - How can I avoid creating the .idea folder?

I don't want PhpStorm to create an .idea folder. Is this possible?

I'm working in a new environment where I pretty much MUST figure out a way to remove them or I have to change IDE, which I really don't want to do.

Can't PhpStorm store the project files and settings in its own directory?

Upvotes: 14

Views: 20788

Answers (2)

LazyOne
LazyOne

Reputation: 165088

I don't want PhpStorm to create an .idea folder. Is this possible?

No, but workaround is very simple and described in the actual ticket body: http://youtrack.jetbrains.com/issue/WI-343 :

WORKAROUND: Actually you can do it for a long time - but only manually. Just create a new project anywhere where you want to store your project data, then go to "Settings | Directories" and detach its dir and attach your project root folder.

Just remember to open this folder instead of actual one next time.

Upvotes: 17

Anatoly Scherbakov
Anatoly Scherbakov

Reputation: 1752

Maybe, as an alternative, if you use a VCS, you can add .idea to your VCS ignore list? For example, for Mercurial it is called .hgignore and for Git - .gitignore.

Upvotes: 6

Related Questions