CSV Table ViewerOpen CSV and TSV files as read-only, searchable tables in VS Code. Features
Use the text-lines button in the toolbar or Reopen Editor With... > Text Editor to inspect the raw source. The table viewer never writes to the file. Supported filesThe viewer supports comma-delimited CSV and tab-delimited TSV with quoted fields, escaped quotes, embedded newlines, UTF-8, BOM-marked UTF-16LE/BE, and a Windows-1252 fallback. V1 previews files up to 10 MiB and the first 50,000 data rows. A visible notice identifies truncated previews and fallback decoding. Filtering and sorting apply to the displayed preview. Configurable delimiters, editing, full large-file indexing, type inference, and saved layouts are outside the first version. Build and installRequirements: Node.js 20 or later, npm, PowerShell, and the
Reload VS Code after installing. The packaged extension is written to
Development
Runtime code uses the stable VS Code custom editor API and Papa Parse. The webview has a nonce-based Content Security Policy and renders CSV values with |