TSV Preview
Read-only TSV preview for VS Code.
TSV Preview opens .tsv files in a custom preview that:
- skips
# comment lines when rendering tabular data
- renders the first data row as table headers
- preserves comments in a separate section
- lets you switch between table view and raw TSV text
Features
- secure webview rendering with CSP and escaped HTML
- refreshes when the source document changes
- lightweight bundled extension with no runtime dependencies
Usage
- Open a
.tsv file in VS Code.
- Right click the file and choose Open With....
- Select TSV Preview.
- If you want, configure it as the default editor for
.tsv files.
- Start using it.
- Use the toggle button in the top-right corner to switch between table view and raw TSV view.
Development
pnpm install
pnpm test
pnpm build
Release
See PUBLISHING.md for Marketplace packaging, publishing, and minimal public-repository export steps.
| |