An open API service indexing awesome lists of open source software.

https://github.com/auchenberg/vscode-network-tool


https://github.com/auchenberg/vscode-network-tool

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# VS Code Network tool

This is an sample extension that illustrates the use of virtual documents or `TextDocumentContentProviders` together with the `vscode.previewHtml`
[command](https://code.visualstudio.com/docs/extensionAPI/vscode-api-commands#_commands).

# Usage
- Open command pallette and choose Use `Show Network Tool`

# How it works

- The extension implements and registers a [`TextDocumentContentProvider`](http://code.visualstudio.com/docs/extensionAPI/vscode-api#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`.

# How to run locally

* `npm install`
* `npm run compile` to start the compiler in watch mode
* open this folder in VS Code and press `F5`