Giving projects unique names

Something unfortunate I've noticed about PyCharm is that it names all my projects "trunk". That's because my directories are laid out like this:




I could restructure these, but I'm hoping there's a way to tell PyCharm to name a project something other than what its directory is.

Comment actions Permalink


This is how it can be done in PhpStorm --- I assume it is also possible in PyCharm as well:

  • in IDE: File | Rename Project
  • manually:
    • open .idea folder for that project while PyCharm is not running (e.g. ~/Projects/first_project/trunk/.idea)
    • find and open file called .name (if it's not there -- create it)
    • write desired project name there -- it's simple text file with a single line of text
Comment actions Permalink

Ah. It wasn't available in the GUI, but I was able to find the .name file and give the project its own name. Thanks!

(I tried to give you "Correct answer" but I got a 500 error, so I clicked on "Helpful answer" and that worked.)


Please sign in to leave a comment.