-
Notifications
You must be signed in to change notification settings - Fork 29.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
listen to more than one file in createFileSystemWatcher
API
#177617
Comments
I do not understand the need here since you can easily call the method multiple times. |
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
I would really appreciate this feature. I'm using https://github.com/Natizyskunk/vscode-sftp where it's possible only to configure one watcher with glob pattern using function mentioned above. On other side glob pattern supports writing multiple Files into pattern, which makes it in my opinion natural to configure it this way. |
I can confirm the issue, glob pattern with multiple files are not useable. |
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
I'm currently working on a vscode extension and need a file change detector. When using
vscode.workspace.createFileSystemWatcher
I can only specify one folder/file. I'm wondering if it is possible to add a function or change this function in a way that can accept more arguments for files we want to listen for changes.(I know about glob patterns, but if folders/files have totally different paths, we need to make a complicated pattern for them or make several instances of
createFileSystemWatcher
with same behaviour. I'm asking if we can do this without a complicated pattern and without multiple instances)(There are several different ways of doing this in my mind but I'll wait for your response.)
Related
The text was updated successfully, but these errors were encountered: