This is an sample extension that illustrates the use of virtual documents or TextDocumentContentProviders
together with the vscode.previewHtml
command.
- Open command pallette and choose Use
Show Network Tool
- The extension implements and registers a
TextDocumentContentProvider
for a particular URI scheme. - The generated HTML document is then opened in an editor in the 2nd Column using the command
vscode.previewHtml
.
npm install
npm run compile
to start the compiler in watch mode- open this folder in VS Code and press
F5