5 ms·
> vscode's remote development UX is really really nice I'm very interested in this, so looked it up. For your use case, I think it's just a matter of setting
by sooheon 6y ago
> vscode's remote development UX is really really nice
I'm very interested in this, so looked it up.
For your use case, I think it's just a matter of setting the correct Deployment Mappings. There's a setting when you're creating the remote interpreter to specify your own mapped directory (not the default /tmp/pycharm-foo) and a checkbox to not have it automatically upload what you have on your local machine (since in your case the source of truth is the remote). Then you can manually sync the diffs yourself with pycharm or git.
Your workflow's interesting in that the remote machine is the main and your laptop's the satellite, and pycharm's model has it the other way around.
Also, if you've already got the interpreter set up, you can just change the deployment mapping settings.
- hermitdev 6y agoMy one current gripe about PyCharm is its seemingly lack of support for git submodules. As in I don't see any way to do a pull or push or work with branches on a submodule. I resort to doing all of my git work on the command line (which I don't mind - it's how I learned to work with git from the beginning).
- _coveredInBees 6y agoThanks for taking the time to look into this. I'll give this a shot again when I have a bit of time to tinker with this.
- ngcc_hk 6y agoThanks as well. Help people like me who walks by.