lukasz-wronski / vscode-ftp-sync

Ftp Sync plugin for Visual Studio Code
https://marketplace.visualstudio.com/items/lukasz-wronski.ftp-sync
320 stars 85 forks source link

Multi-root workspace issues #305

Open Redrawn2 opened 4 years ago

Redrawn2 commented 4 years ago

I've been using FTP-Sync for a while now and it works perfect for single-root projects. However recently I needed to split one of my projects into a core package and multiple deriviations. Some of them use a different FTP connection than others. To maintain a good development workflow I use a multi-root workspace for this, where every project has it's own ftp-sync config. Sadly it doesn't seem to be fully supported by the extension. When I try to sync local to remote it will only do so for the root project, i.e. the first project in the workspace. I can't seem to get it to work for the other projects. The same is true for all CLI methods (like "init", etc.), they will allways run in the context of the root project. Am I missing something, or is this not supported at the time? It would be awesome if it would ask me which project I want to set as context. Like the "Choose the folder" question at the start of a sync request.