Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can not open project with IntelliJ IDEA

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".

like image 877
Sajjad Rostami Avatar asked Oct 01 '13 05:10

Sajjad Rostami


People also ask

How do I open an IntelliJ 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.

Why is IntelliJ not working?

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.

How do I fix my IntelliJ IDEA?

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.


1 Answers

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.

like image 169
Sergii Shcherbak Avatar answered Oct 04 '22 15:10

Sergii Shcherbak