Export/Import projects to new computer

Answered
Hello,
I bought a new computer and want to migrate all my IntelliJ  projects to the new computer. It should export/import all sources and libraries as well so projects open correctly with no errors in new computer. Is it possible?
Does anybody know of a link you may know it explains how to do this. Any suggestions welcomed.
Thanks in advance.
0
6 comments

Most of the project settings are stored in the .idea folder in the project's root. So, transferring the project directory with the .idea folder included should be enough in general. 

Would be also useful to migrate IDE settings via any of these methods: https://www.jetbrains.com/help/idea/sharing-your-ide-settings.html

0

Hi Konstantin,

Thank you. I was able to import the settings but when I imported the projects I open them with lots of red errors.

What is the proper way to import projects? Thanks.

0

Strongly depends on the exact project. 

What is the project type? Is it Maven/Gradle? 

0

They are standard projects created in IntelliJ  File=> New Project=> Java=>Create project from template "Command Line App"

0

When importing projects shouldn't I do File=>New=>Project from existing sources?

0

> When importing projects shouldn't I do File=>New=>Project from existing sources?

If .idea folder is transferred, all you need is to open the project via "File | Open". Some paths should be corrected after that (paths to libraries, application servers executables, etc). 

 

0

Please sign in to leave a comment.