Updated Virtual Workspaces (markdown)

Martin Aeschlimann 2021-05-06 15:38:36 +02:00
parent 1143fed2df
commit 571b76ff53

@ -24,7 +24,7 @@ This opens a VSCode window for a virtual workspace where all resources are virtu
## Verify that the code is ready for virtual resources
The API support for virtual file system has been around for quite a while already. You can check out the [file system provider API](https://github.com/microsoft/vscode/blob/dc8bd9cd7e5231745549ac6218266c63271f48cd/src/vs/vscode.d.ts#L7038), if you are interested. A file system provider is registered for a new URI scheme (e.g. `vscode-vfs`) and resources on that file system will be represented by URIs using that schema (`vscode-vfs://github/microsoft/vscode`)
The API support for virtual file system has been around for quite a while already. You can check out the [file system provider API](https://github.com/microsoft/vscode/blob/dc8bd9cd7e5231745549ac6218266c63271f48cd/src/vs/vscode.d.ts#L7038), if you are interested. A file system provider is registered for a new URI scheme (e.g. `vscode-vfs`) and resources on that file system will be represented by URIs using that schema (e.g. `vscode-vfs://github/microsoft/vscode`)
Check how your extension deals with URIs it gets from the VSCode APIs: