Can Not Open Existing Project

Answered

Hi,

Today I want to open my existing project and I followed File ->Open. But I can't open any file. It loading for hours.What is the problem

 I use this version IntelliJ IDEA 2020.1.3 x64

0
28 comments

Hi. Is there anything relevant in logs (File | Show log...)? Does it help if you remove .idea folder and reimport the project?

0

Rtharindumalinda Do you have any network drives? Does it help if you disconnect them?

0

I have a similar problem. The File Open dialog doesn't show anymore files. So I cannot open files or projects.

I have this problem with IntelliJ 2020.2.x and later. I would like avoid reset my ide settings.  Any ideas to help me ?

0

Do you have any network drives or WSL configured? Does it help if you disconnect them?

Try also disabling case sensitivity for the file system by adding this into idea.properties file (Help | Edit custom properties): 

idea.case.sensitive.fs=true
0

Thank you for your reply.

Yes I have network drives. I don't know what is WSL. So I cannot answer about it.

I've tried your solution, but I have the same problem.

I'm using a corporate VPN to work with IntelliJ. When I'm not use the VPN, the dialog box show local files and folders.

I need my VPN to work. Any ideas about my problem ? 

0

There is a possibility that IDE scans your VPN network for shared locations. We are in process of file chooser redesign. For the time being, you can use system's file chooser. For that, enable "ide.win.file.chooser.native" option in registry

0

With this option, I can choose and open file inside IntelliJ. But When I choose *.iml files or idea folder, I cannot open IntelliJ project. Indeed, IntelliJ open directly the file *.iml in XML editor.

0

You may choose the project's folder itself. IntelliJ IDEA will scan for the existence of the .idea folder and .iml file automatically. 

0

Unfortunatelly, I can't open a folder. The native dialog is open with "all files" filter. So I can only open a file.

0

Please add the following in Help | Edit Custom Properties:

ide.win.file.chooser.native=true
sun.awt.windows.useCommonItemDialog=true

Restart the IDE, use the Select Folder option, it will open the project from the selected folder:

2

I can open project now. Thank you for your help.

 

0

Konstantin Annikov I'm having the same issue, using the workaround suggested here for now.

Is there any time estimation for the new file chooser you could share?

Thanks.

 

0

There is a work in progress that you can track for updates: https://youtrack.jetbrains.com/issue/IDEA-101218. Approximate ETA is 2021.3.X versions.

0

Having the same issue with opening a project
The fix suggested by Sergev Baranov allows me to open projects but it's not ideal :(

I have the latest PhpStorm at this time (2021.2.2) 

0

Hi,

My PC died and I have had to reinstall CLion.

I added the following custom properties:

I am seeing the same issue as above:

Could you please tell me what to do to fix this?

Thanks Dave

0

>I am seeing the same issue as above:

The screenshot shows that the file chooser dialog shows the directory content. Could you clarify the issue please?

Have you restarted the IDE after changing the .properties file?

0

Hi Andrey

Yes I did and after that I rebooted my PC

Still no joy.

0

I am seeing the same issue on MacOS Big Sur for IntelliJ IDEA 2021.3.  The welcome screen is coming up when I start the app.  I am tried to select the Get from VCS and that gives me the popup to enter the URL for the git repository and the Project location.  That works as the project is being created on my local disk.  But that is it, nothing comes up showing me the project.  All that is displayed is welcome window.  I can select the Open button on welcome screen, select the project just downloaded and nothing happens.  I can select other projects that were working previously and nothing works. I can select other older projects and those work.  This might be related to latest release.  It all starting happening on Dec 2.  I cannot remember if that is when I updated./

 

0

Still a problem in 2023….

0

Please report with the logs so that we can fix it.

0

B Nasriddinbek Try to reinstall the IDE from https://www.jetbrains.com/webstorm/download/index.html, your installation may be corrupted. If it doesn't help, please file a new bug at https://youtrack.jetbrains.com/newIssue?project=IDEA with the fresh logs and the steps to reproduce.

1

@Serge_Baranov. It was a system problem with me. it worked after I reinstalled my OS

0

Happens again in 2024.2.4.

0

Found an answer that worked for me here: https://youtrack.jetbrains.com/issue/IDEA-313772/Open-file-or-Project-always-in-loading-state

add ide.ui.new.file.chooser=true in Help | Edit Custom Properties and restart the IDE

0

Please sign in to leave a comment.