Replies: 3 comments 2 replies
-
Hello, You are correct, the plugin currently only opens files as read-only. I have been considering adding the option to edit on-device files, but there are several considerations that have stopped me from moving forward. The changes you make to the on-device files would have to propagate to the project source code files, otherwise you'd overwrite them the next time you run an upload configuration that either tries to upload a file with the same target path or that has the synchronization feature enabled. At that point it makes little sense to support more than read-only viewing of such files. Adding an option to edit on-device files would be a very complicated task on it's own given all the possible scenarios and edge-cases that editing a file on a remote device has. But the problems like the one I mentioned above and the way PyCharm is structured in general make it not-viable. Editing on-device files can work with simpler IDEs like thonny that don't really have the concept of a project like PyCharm does. It can also be a way to avoid re-uploading all of the source code for every little change, but this plugin implements file hashing and synchronization features to solve such problems. For your use case I'd recommend adding the file you want excluded to |
Beta Was this translation helpful? Give feedback.
-
Direct editing of on-device files is currently not planned. Uploads are now in their almost final state, the last missing setting is the "Upload to" dialog #39 for the context menu actions. All available upload options are now documented here |
Beta Was this translation helpful? Give feedback.
-
Editing of on-device files is planned for version 0.6.0 - #57 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently it appears that all files on the device are opened as read-only. It would be good to be able to directly edit files on the device. I often have a config file that has specific things that need changing, but don't want to store this file in GIT, and rather store the template.
This plugin is awesome though!
Beta Was this translation helpful? Give feedback.
All reactions