Daniel Ben-Shabtay
Daniel Ben-Shabtay

Reputation: 350

Change Pycharm default directory / folder

I've just installed Pycharm Community edition in my Windows PC. I want to change the default directory for my projects.

Now it is C:\users\myuser\Pycharmprojects\untitled
I want it to be E:\PycharmProjects\my project name

Thanks,
Daniel

Upvotes: 1

Views: 9277

Answers (1)

Andis
Andis

Reputation: 416

this issue is a duplicate of Can I change the location/name of PyCharmProjects?

But the answer not mentioned there is:

  1. Make sure PyCharm is closed

  2. Navigate to the C:\Users\MyName.PyCharm50\config\options\recentProjectDirectories.xml (note: read this page to figure out where these settings are on the different OS's: https://www.jetbrains.com/pycharm/help/project-and-ide-settings.html)

  3. Modify

    <option name="lastProjectLocation" value="D:\Dropbox\Learning\FullStack\Python" />
    

    and set the value=whatever your desired folder is.

  4. Save the file, then open PyCharm.

(via http://makguidetosoft.blogspot.com/2016/01/pycharm-change-default-project-folder.html)

Upvotes: 2

Related Questions