A minimal, fast Excel-like grid for viewing and lightly editing .csv and .tsv
files in VS Code — an alternative to heavier tools like Data Wrangler for people who
just want to see their data in cells, search it, and filter it.
- Grid view — opens
.csv/.tsvfiles as a virtualized, spreadsheet-like table (handles large files smoothly; sticky header row and row-number gutter). - Search — plain-text or regex search with case toggle, match count, and
prev/next navigation (
Cmd/Ctrl+Finside the grid). - Filter — switch the same search box to Filter mode to show only matching rows.
- Light editing — double-click (or
F2) a cell to edit it, drag column headers to reorder, right-click a header/row for delete,Cmd/Ctrl+Backspacedeletes the focused row. All edits go through VS Code's normal save/undo/redo —Cmd/Ctrl+Zreverts,Cmd/Ctrl+Ssaves. - Automatic delimiter detection (
,;tab|), theme-aware (light/dark/ high-contrast), no runtime dependencies.
Files over 200,000 rows open in read-only mode to keep memory bounded.
Open any .csv or .tsv file — it opens in the grid by default. To edit the raw
text instead, right-click the file (or use the editor tab context menu) and choose
Reopen Editor With → Text Editor.
npm install
npm run package # produces lightweight-csv-viewer-0.1.0.vsix (via vsce)
code --install-extension lightweight-csv-viewer-0.1.0.vsixnpm install
npm run watch # esbuild in watch modePress F5 in VS Code (with this folder open) to launch an Extension Development
Host with the extension loaded.
npm test # parser unit tests