Bulk import projects from root folder

Answered

Hi, I've recently switched laptops and copy pasted the `IdeaProjects` folder between them. What I'm trying to do now is find a way to tell Idea "Look there are 100 folders in this root folder, each is a project, import them all separately". I want them all to appear in the Recent projects menu, I don't want to import each one manually. Considering they all already have the `.idea` metadata folder shouldn't this be trivial?

Thanks for any help

1
4 comments

There is no such feature.

You can probably generate options/recentProjects.xml file in the Configuration directory: https://www.jetbrains.com/help/idea/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#config-directory using your own script or copy the one from your old machine.

1

Hi Serge Baranov  thanks for your suggestion.

I copied the one from my old machine, but looks like idea overrides this file from some other place. I can see the proper file before quitting and reopening, but all the entries are gone when opening. Any idea were it might be getting that data from?

 

0

Try disabling the settings sync and settings repository features.

0

Actually I was wrong, this approach works. I replaced the file before completely quitting idea, so it over wrote it upon exit. Thanks for your help

1

Please sign in to leave a comment.