How can I permanently change my default repository folder?



Every time I clone a new repository from GitHub or other VCS, Rider wants to throw it into a folder (above) that is in a bad location for me. It's on an unpreferred drive in a folder that is subject to frequent corporate tool scans, so I cannot work in my IDE with any file in this location.

Even when I open the folder navigator up and select my preferred root folder, this is a bad experience not just because of the extra unneeded clicks but I also have to manually retype the name of my repository since it doesn't automatically try to append it to the folder I've selected. 

This costs me so much time. I've tried a few things to change it, but nothing seems to be specifically designed for this.

1
5 comments

I would also love to know if this is possible. At my work, I need to clone lots of repositories, and it is rather annoying having to retype the names. Especially since the names are rather complex. 
When cloning, they always default to “C:\” (makes me wonder why this is the case anyway, because who puts repos directly in the C root?) I need them to go to “C:\Work” (Literally a work requirement :D)

2

Filippristas You can change the default directory location for VCS under Settings | Appearance & Behavior | System Settings by setting the Default project directory.

Let me know if it helps.

1

The setting “Default project directory” under “Appearance & Behavior => System Settings” does not seem to apply to cloning repositories.

0
Hi,

This looks exactly like the issue described here: https://youtrack.jetbrains.com/issue/IJPL-87751

To help us prioritize this please upvote it and star it to track any updates.

Best regards,
Uros Glogovac
IntelliJ Support
0

Smith Filippristas On MacOS you can go to ~/Library/Application Support/JetBrains/IntelliJIdea202x.x/options/vsc-inputs.xml and change the value of the option tag to the default path you want:
<option name="cloneParentDir" value="$USER_HOME$/Developer/IdeaProjects" />

A similar path exists in windows.

0

Please sign in to leave a comment.