I am having a problem with PyCharm (Community Edition) in that, when I open a .py file in the program, I can happily read and write in the file as usual, however when I click out of PyCharm (to look my emails for example) and then click back into it to carry on with my code, the file automatically closes and the project tree structure collapses (so I have to re-open it every time).
So far I have tried changing the tab limit to a high number, but this doesn't seem to help (and it shouldn't be related, since this happens when I open just one file).
Any help is much appreciated!
Right-click the Run tool window and select the Pause Output toggle in the context menu. Note that only the output will be suspended. The program execution will be continued. To resume the program output, deselect Pause Output in the context menu.
PyCharm automatically saves changes that you make in your files. Saving is triggered by various events, such as compiling, running, debugging, performing version control operations, closing a file or a project, or quitting the IDE.
Running a scriptChoose Run | Run from the main menu or press Alt+Shift+F10 , and then select the desired run/debug configuration. This way, you can run any available run/debug configuration.
Right-click anywhere in the editor and choose Local History | Show History from the context menu. In the dialog that opens, the left-hand pane shows a list of all saved revisions of the current file with timestamps.
I had the same issue before. I'm assuming you're connected to a network shared folder via UNC path (e.g. \\foo\bar\
)?
If so, it is not currently supported. You'll need to map your network folder and give it a Drive letter. Then load up your project using the mapped drive, and it'll work like a charm.
If that's not the scenario though, please give us more information.
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