Project and module config fully relative to each local git clone dir
I have one main project with several modules (some java, some python). The python modules each have their own nested virtualenv.
I want to git clone this project onto several places on my laptop, so I can easily have projects open for multiple branches. I want to configure my project and modules such that they apply correctly no matter which local clone dir they are located. Things like remote deploy targets and SDKs need to be evaluated local to the relative path / project name of the local clone.
I've been able to achieve most of what I need with $PROJECT_NAME$ variable in some of the project XML files (I customize .idea/.name which is in my .gitignore, so it needs to be hand-edited once per clone location, which is workable). But I cannot define a module python SDK using this parameter - thus all my multiple open projects are not correctly referring to their local virtualenv python sdk)
Can anyone offer a workaround or solution?
Please sign in to leave a comment.
Python SDK is referenced from the project files by its name only, the actual paths are not stored in the project. Python SDKs is the IDE configuration stored in the Configuration directory: https://www.jetbrains.com/help/idea/tuning-the-ide.html#config-directory.