.idea folder

Answered

I have some questions regarding the .idea folder, does this folder applies for all JetBrain IDE or just IDEA? In my case I have Pycharm/IDEA, so would that cause any conflict?  Some posts have indicated this based on error message (e.g. https://intellij-support.jetbrains.com/hc/en-us/community/posts/207015715-Error-starting-WebStorm-with-IntelliJ-iml-files-vars-MAVEN-REPOSITORY-JAVA-MODULE-)

I was getting an error in Pycharm "Cannot determine module type ("java_module")" so I made a backup & deleted the .iml file (named with the user,) and re-opened pycharm, it generated a new .iml but with different setting.  

The error no longer appears.  How is this file generated and why did it change?

Also what is the best practice for the .idea folder for multiple JetBrain install, possible to have multiple .idea_XX folders?

0
3 comments

Your project had Java modules which will not work in PyCharm. You can have different directories for IDE specific project files if that is the case or do not use modules that are not supported in PyCharm.

0
Avatar
Permanently deleted user

So I take it that .idea is a system-wide folder across multiple JetBrain products and we need to use Projects to separate out the different setting for IDE.  Is that correct?

0

No, it's a project wide folder.

0

Please sign in to leave a comment.