-
Notifications
You must be signed in to change notification settings - Fork 22
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
Using vscode.RelativePattern
and vscode.workspace.findFiles
#4
Comments
Now you can also specify a local folder with test data:
VS Code Browser will open on a virtual workspace (vscode-test-web://mount). A file system provider will fetch the file/folder data from the local disk. Changes to the file system are kept in memory and are not written back to disk. |
Hi @aeschli, thanks for the tip. |
Ah, I forgot, the file system provider doesn't yet support the |
Is const glob = await vscode.workspace.findFiles(new vscode.RelativePattern(workspace, '**/west.yml')); it appears to neither return a value nor throw an exception. |
No progress there, unfortunately... |
I've changed the
helloworld-web-sample
with this simple testing code below but it can't find files when running it with thevscode-test-web
(files.length
always 0). It works fine when I run it using theRun Web Extension in VS Code
though (files.length
> 0).Is there a different way of using
vscode.RelativePattern
andvscode.workspace.findFiles
for browser? Thanks!The text was updated successfully, but these errors were encountered: