How do I create my idea project (.idea) in a directory outside project dir?

This seems odd that I can't figure out how to do something that I figured would be easy....

I want to keep my .idea project stuff outside of the main project directory. For a unique case I'm actually working off of files mounted via ssh and I don't want to waste the network moving any proejct files over the network if I could avoid it.

My workaround was to create a new project directory and then inside I created a symbolic link to my mounted ssh project. Not really ideal though (since the structure looks weird eg /Users/rick/projects/my-project/my-symbolic-link-project))

2 comments
Comment actions Permalink

Interestingly I see the option if I import a maven project to "keep project files in other directory" (wording off a bit I'm sure.) Didn't see this when creating a project from existing sources though?

0
Comment actions Permalink

Hello rick,

You should create the project in the outside directory, then create a module
and specify the main project directory as its content root.

This seems odd that I can't figure out how to do something that I
figured would be easy....

I want to keep my .idea project stuff outside of the main project
directory. For a unique case I'm actually working off of files mounted
via ssh and I don't want to waste the network moving any proejct files
over the network if I could avoid it.

My workaround was to create a new project directory and then inside I
created a symbolic link to my mounted ssh project. Not really ideal
though (since the structure looks weird eg
/Users/rick/projects/my-project/my-symbolic-link-project))


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.