lukasz-wronski / vscode-ftp-sync

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

[RFC] "whitelist" option #254

Closed aleclarson closed 5 years ago

aleclarson commented 6 years ago

The opposite of the ignore option. Only paths listed in whitelist are crawled and synced.

Or is allow supposed to work this way?

frobinsonj commented 5 years ago

Or is allow supposed to work this way?

Yes, see the init section:

allow - An array of escaped regular expression strings specifying paths which are allowed. If nonempty, unless a path matches any of these regular expressions it will not be included in the sync. Default value is empty, implying everything is allowed.

aleclarson commented 5 years ago

It's been a while since I made this issue, but I recall something about allow was not working correctly. Anyway, I stopped using this extension. Sorry!