Specify folders for project opening search

Answered

How can I specify which folders or drives to focus on in the project search when using the “Open File or Project” Function in IntelliJ? I have my projects only in a small handfull of folders. The search function is apparently looking through all the connected drives and all folders (possibly simply refering to the respective Windows environment variable).

I am convinced there is some configuration for the search behaviour somewhere in the settings, maybe.  

0
6 comments
Please configure "Default project directory" under "File | Settings | Appearance & Behavior | System Settings | Project" section. This directory is preselected in "Open project" dialog.
0

Thanks for the quick response. I have set my default directory as instructed, but its not helping really. I takes more than a minute until it shows me the projects in that folder. If it was looking ONLY in this folder, certainly that should not take so long. I think it is still somehow checking out whatever else my maschine might be connected to. Could that be? 
Is there a way to find out what's it doing in all that time?

(By the way, I think it used to be much faster in the past, allthough I couldn't substantiate that feeling)

0

Do you mean that the configured folder does pop up, but it would take one minute before popping up? That doesn't sound normal. How many drives do you have? What is the experience outside the IDE?
For example, in any website, when uploading a file, how long does the file chooser take to show up? Please help collect "Help | Collect Logs and Diagnostic Data" and upload it to https://uploads.jetbrains.com/, and let us know the upload ID.

0

Regular opening of a file explorer in Windows ist fast. I have also a little test program that opens a SWING file chooser (also fast). I have noticed, that setting the default folder as you instructed might have helped a bit after all. It is now slow in one out of four or five tries (like 20 secs).

Upload ID: 2025_06_11_WJ4ndpbyjW7CaVnVjinS9v (file: idea-logs-20250611-1332392195771150874601132.zip)

If you can see something obvious, let me know. Otherwise, I think I can live with it as it is now. I will clean-up the Windows PATH variable, which also might improve things.  

 

0
I haven't found anything special yet, I would update the IDE to 2025.1.2 version first and see how it goes.
0

Right. Thanks for your help. Knowing that you folks are responsive and helpful is a big part of my motiviation to use IntelliJ and Kotlin.

0

Please sign in to leave a comment.