https://github.com/auchenberg/vscode-network-tool
https://github.com/auchenberg/vscode-network-tool
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/auchenberg/vscode-network-tool
- Owner: auchenberg
- Created: 2017-06-08T18:38:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-31T23:18:45.000Z (over 7 years ago)
- Last Synced: 2025-01-06T18:35:58.342Z (9 months ago)
- Language: TypeScript
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`