Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I change the location/name of PyCharmProjects?

Tags:

pycharm

I am using PyCharm 3.0 on Ubuntu 12.04. It has automatically created a folder called ~/PyCharmProjects for storing project folders. Is it possible to:

  • change the location of this folder?
  • change the name of this folder?

(I couldn't find any reference to changing it in the interface, on the JetBrains site, or in the settings files. Either it isn't possible or (I hope) I missed something.)

like image 408
lofidevops Avatar asked Nov 28 '13 09:11

lofidevops


People also ask

How do I change the path of a python project?

To change the current working directory in Python, use the chdir() method. The method accepts one argument, the path to the directory to which you want to change. The path argument can be absolute or relative.

How do I change the location of a project in PyCharm?

Open the Project Structure settings. In the Projects pane of the Project Structure page, click the project you want to configure content roots for. In the dialog that opens, locate the desired directory and click OK.

How do you change the name of a project in Python?

Renaming ProjectsRight-click the root folder of your project and select Refactor | Rename from the context menu or press Shift+F6 . In the dialog that opens, choose the rename strategy. If the project name is the same as the name of its root folder, select Rename directory.

Where are PyCharm settings stored?

IDE settings are stored in the dedicated directories under PyCharm home directory. The PyCharm directory name is composed of the product name and version.


2 Answers

I'm using PyCharm 4.5 Community and this version he "remembers" the location of the last project you created. It works like this: you create a project in "/ home / user / workspace / MyProject". The next time you create a project the PyCharm will suggest to create in "/ home / user / workspace / untitled", ie it resembles the way and always suggests the same, since you can not move to another location.

like image 160
Fabiano Bernardi Avatar answered Oct 17 '22 10:10

Fabiano Bernardi


You can set any location for your project(s). Either through the File/New Project... menu, or File/Open... if you already have projects somewhere.

When you don't have anything left in the ~/PyCharmProjects you can delete it safely.

If you want to go into more details: http://www.jetbrains.com/pycharm/webhelp/project.html

like image 38
Arnaud P Avatar answered Oct 17 '22 09:10

Arnaud P