Cellscope
Stop squinting at raw CSV files. Preview them as clean, filterable tables — right inside VS Code.

Features
- One-click preview — Click the Cellscope icon in the editor title bar to instantly view any
.csv file as a table
- Multi-column filtering — Filter any column with searchable, multi-select checkboxes
- Column sorting — Click any column header's sort icon to cycle through ascending, descending, and original order
- Smart numeric sorting — Automatically detects numeric columns and sorts them numerically; text columns sort case-insensitively
- AND / OR logic — Toggle between AND and OR to combine filters across columns
- Virtual scrolling — Handles thousands of rows with smooth, instant rendering
- Theme-aware — Automatically adapts to your VS Code light or dark theme
- Live row counter — See "Showing X of Y rows" update in real-time as you filter
- Export filtered CSV — Export your currently filtered and sorted view as a new CSV file
- Copy to clipboard — Copy entire rows as JSON or individual cell values with one click
- Fast parsing — Powered by Papa Parse for reliable CSV handling
Quick Start
- Open any
.csv file in VS Code
- Click the Cellscope icon in the editor title bar (top-right)
- Start filtering or sorting — click the filter icon or sort icon on any column header
Filtering
Each column filter dropdown includes:
- Search box — Type to quickly find values in columns with many unique entries
- Select All / Clear All — Bulk toggle checkboxes
- Multi-select checkboxes — Pick exactly which values to show
- Apply button — Confirm your selection
- Keyboard support — Press
Escape to close a dropdown, Enter to apply the current selection
Use the AND/OR toggle in the toolbar to control how filters combine across columns.
Sorting
- Click the sort icon on any column header to cycle: ascending → descending → original order
- Only one column can be sorted at a time — clicking a different column resets the previous
- Numeric columns are auto-detected and sorted numerically
- Empty cells always sort to the bottom regardless of direction
Export
- When filters or sorting are active, an Export Filtered CSV button appears in the toolbar
- Exports the currently visible rows in their current sort order
- Default filename:
<original>_filtered.csv
Installation
- Open VS Code
- Go to Extensions (
Cmd+Shift+X on Mac / Ctrl+Shift+X on Windows)
- Search for Cellscope
- Click Install
Or install directly from the VS Code Marketplace.
Contributing
Contributions are welcome!
Development Setup
git clone https://github.com/pman47/cellscope.git
cd cellscope
npm install
npm run compile
Press F5 in VS Code to launch the Extension Development Host.
Local Install (VSIX)
npm run package
code --install-extension cellscope-*.vsix
Submitting Changes
- Fork the repo
- Create a feature branch (
git checkout -b feature/my-feature)
- Commit your changes
- Push and open a Pull Request
License
MIT
| |