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:

    ~/Projects/first_project/trunk

    ~/Projects/second_project/trunk

    ~/Projects/third_project/trunk

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.

2 comments
Comment actions Permalink

Hi,

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
0
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.)

0

Please sign in to leave a comment.