Reputation: 1576
I've been reorganizing the internal structure of a project, moving files around, separating folders and such.
Now, in the Run menu some files appear with a (1) added after their name, as you can see in the attached picture:
It generally happens if I have multiple instances of a script running, but that's not the case here.
I committed everything after the modifications, but it doesn't seem to be related to that.
No big deal clearly, but I was wondering how to fix that.
Upvotes: 0
Views: 427
Reputation: 1
I've had this problem before too, and one of my solutions was to delete the ".idea" folder in the project folder, then restart PyCharm and it will recreate the folder. Usually I think it's because you changed the parent folder or path name after creating the ".idea" folder.
Upvotes: 0
Reputation: 83557
What you call the "run menu" is what Pycharm calls "run configurations". Pycharm automatically creates these when you try to run a file. It looks like at one point, you already had a run configuration named analyze_clips, so PyCharm added a new one with the "(1)" at the end. You can clean this all up by clicking on the drop down and selecting "Edit Run Configurations...". You can either rename configurations you want to keep or delete ones you don't.
For more details about working with run configurations, see the Pycharm documenation.
Upvotes: 3