How to add new directories with sync?

We have mounted network drive in our company with several directories we need to work on. When I create new project from existing source, it recommends me to setup synchronization to local drive. So far it's ok. But after that, we need to add the rest of directories we work on. But when I go to Settings -> Directories, it allows me to add a new content root, but not with sync. And when I add it directly, the performance over network is really poor.

What is the best way to add new mounted folders which would be synchronized? Thanks

5 comments
Comment actions Permalink

Hello Jan,

You need to setup mappings for the additional remote directories. Check Settings | Deployment | (your server) | Mappings tab. Click 'Add another mapping', then choose remote directory and local folder to download files to. Then you can open Remote Host view (Tools | Deployment | Browse Remote Host), right-click your root folder and choose 'Download from here' (to download all in one click). Or, do the same for every additional directory.

Settings | Directories is for including your local folders to the project, you may need to do it after download if local paths you entered point out of the project.

Sorry for the inconvenience, we will rework the configuration UI in the next versions so you won't need to switch between different config pages.

Regards,
Kirill

0
Comment actions Permalink

Thanks, it works!

Also I noticed that I don't need to go to Remote host view, but just in project view right click on a mapped directory -> Deployment -> Download from X.

0
Comment actions Permalink

Also as you said you want to rework the UI, consider setting excluded directories in "Create project from existing sources" wizard. Usually I have a huge data/ directory in my project which I don't want to sync, and when creating project by that wizard I need to sync everything first to be able to exclude something.

0
Comment actions Permalink

Hi Jan,

consider setting excluded directories in "Create project from existing sources" wizard


Sure we will do that. This is related request: http://youtrack.jetbrains.net/issue/WI-2226.

Also I noticed that I don't need to go to Remote host view, but just in project view right click on a mapped directory -> Deployment -> Download from X.


Yes, this also works :)

Kirill

0
Comment actions Permalink

Hi Jan,

consider setting excluded directories in "Create project from existing sources" wizard


Sure we will do that. This is related request: http://youtrack.jetbrains.net/issue/WI-2226.

Also I noticed that I don't need to go to Remote host view, but just in project view right click on a mapped directory -> Deployment -> Download from X.


Yes, this also works :)

Kirill

0

Please sign in to leave a comment.