Skip to content
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

--folder-uri question #1

Closed
larshp opened this issue Aug 12, 2021 · 2 comments
Closed

--folder-uri question #1

larshp opened this issue Aug 12, 2021 · 2 comments

Comments

@larshp
Copy link

larshp commented Aug 12, 2021

Hi,
I'm trying to use the --folder-uri option to have files loaded at startup, currently using full URI:
https://github.com/larshp/vscode-source-map/blob/main/package.json#L49
and also tried multiple other formats

Are there any examples for using --folder-uri ?

@larshp
Copy link
Author

larshp commented Sep 10, 2021

looks like 6fba674 might solve my issue

@aeschli
Copy link
Contributor

aeschli commented Sep 24, 2021

Now you can also specify a local folder with test data:

vscode-test-web --browserType=chromium --extensionDevelopmentPath=$extensionLocation $testDataLocation

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.

The --folder-uri option is still available, but no longer documented.
It's still useful to test other file system providers, e.g. provided by your or another extension.

@aeschli aeschli closed this as completed Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants