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

后端 未结 2 751
春和景丽
春和景丽 2021-01-02 09:50

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 h

相关标签:
2条回答
  • 2021-01-02 10:26

    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.

    0 讨论(0)
  • 2021-01-02 10:29

    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.

    0 讨论(0)
提交回复
热议问题