I have a project that was already working with IntelliJ IDEA but now,when I want to open it with IntelliJ IDEA, I am facing this error message:"Contains no IntelliJ IDE project".
Open a project (simple import) Launch IntelliJ IDEA. If the Welcome screen opens, click Open. Otherwise, from the main menu, select File | Open. In the dialog that opens, select the directory in which your sources, libraries, and other assets are located and click Open.
So, in order to fix this issue, go to C:\Users\<your_username>\. IntelliJIdea<version>\config (or your OS' equivalent) and delete the idea.exe. vmoptions and/or idea64.exe. vmoptions file from there.
From the main menu, select File | Repair IDE. IntelliJ IDEA will automatically launch the first recovery step and refresh the virtual file system. IntelliJ IDEA will display a notification that you can use to continue or complete the recovery process.
In my case (PyCharm), there was one particular project that refused to open, while other projects worked perfectly. Deleting the .idea
folder did not fix the issue. The fix that worked for me: File > Invalidate Caches > (Select all) > Invalidate and Restart
. This will remove caches and indices for all projects, and new caches will be built on re-open.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With