Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

11
  • how do I find the .idea folder? Commented Dec 13, 2021 at 18:41
  • Answering my own question, I went to the root of my project (not src but say the git repo root folder). Then I did rm -rf .idea. Then restarted pycharm. I really puzzled why this worked...so far. At least the ide is finding the files and the running of the code does too (but that always worked even when running from within pycharm e.g. with the debugger). Commented Dec 13, 2021 at 18:45
  • why does this work? Commented Dec 13, 2021 at 18:47
  • btw, is recreating the project really necessary? Commented Dec 13, 2021 at 19:05
  • Recreating the project happens automatically when starting PyCharm in that folder. That will re-creates the .idea folder that stores project settings, the string search index and other things. Commented Dec 13, 2021 at 19:10