I'm trying to find the directory where all projects are stored within PyCharm's settings, but it's not clear where it's located.
Pycharm has a default project location (which might depend on the PyCharm version and/or OS). At least in some cases it's ~/PyCharmProjects
.
Note that this default location shows up just as a suggestion when a new project is created, but one can choose a different location.
It's also possible to change the default project location, see Change the default location of Pycharm Project
Pycharm also support creating projects from code already existing in some directory, in which case the above-mentioned suggestion is not even made.
With these in mind, if you really want to find all PyCharm projects you'd need to do a search for the .idea
directories in which PyCharm stores its per-project settings.
But note that several other JetBrains Idea-based products beside PyCharm use the same directory name for the same purpose, so, if you have other such products installed you'd need to take a closer look to see which of such projects are PyCharm projects. An explanation for what's in that directory can be found in How to manage projects under Version Control Systems (applicable to all of their Idea-based products, not just PyCharm)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With