Importing project from GitHub (sources of multiple languages)
Answered
I created the project by "Check out from Version Control" option, and logging in to GitHub, and cloned the project. There I created different folders. In one I added a module to have there a Java project. When doing the cloning again, it asked for which projects to import, and didn't allowed me to see the entire git's content. I searched for an option to manually add them, and that wasn't possible either. The only way I succeed solving it is by adding the configuration files of IntelliJ (.idea and iml) to the git.
Why is it happening? Is there a more elegant way to solve it? I don't see a reason to purposely doing it.
Please sign in to leave a comment.
Do you want IDE to automatically detect and configure modules for the git project tree that uses different languages?
I mean to access the root directory from the project explorer. When I opened the local version which was created after the first time I cloned the git, when it was empty, it worked fine, and the entire project was visible in IntelliJ, but when cloning it again from the git, it refused to display the root directory, and managed to find projects in the given git folder. What if a person wants to add files in the root directory, and update the git from IntelliJ, even if there was no other projects or any files in the root directory besides an src folder for the module it identified?
Do you have .idea directory in your git project? Can you provide a link to the repository that we can use to reproduce it?
When having the .idea and iml IntelliJ tells me it found an IntelliJ project in the git, but I want it to work without these configuration files.
Can you provide a link to the repository that we can use to reproduce it?
I read these documentations: