Filebay
Browse your whole disk from the VS Code sidebar, open zip and tar.gz files like folders, and preview CSV, Excel and PDF files without leaving the editor.

VS Code only shows the folders in your workspace, and clicking a .zip, .pdf or .xlsx gets you "The file is not displayed in the text editor because it is either binary…". Filebay fixes both:
- A Files view in the Explorer that starts from your home folder, your drives and the folders you pin. Look in
~/Downloads without adding it to the workspace.
- Archives are folders. Expand a
.zip, .jar, .apk or .tar.gz in the tree, then the zip inside it. Click a file inside and it opens in the normal editor, with syntax highlighting, search and diff, read-only.
- Previews for the files you open every day: CSV and TSV as a table, Excel workbooks, PDFs.
The Files view
Open the Explorer and expand Files (you can drag it to its own sidebar). It lists, in this order:
- folders you pinned (right-click a folder → Pin Folder),
- your home folder,
- the workspace folders,
- the drives (
/ on Linux and macOS, every drive letter on Windows),
- the archives you opened recently (right-click one → Remove from Recent to drop it from the list; the file stays).
Click a file to open it. Right-click for Open to the Side, Reveal in File Manager, Open in Integrated Terminal, Copy Path, Add Folder to Workspace, Open Folder in New Window, New File…, New Folder…, Rename…, Delete (moves to the trash), Select for Compare and Compare with Selected. F2 renames, Delete deletes, Ctrl+Enter opens to the side.
The title bar has Go to Path… (Ctrl+L in the view: type or paste a path to a folder or a file, with completion; ~ is your home folder, and quotes or file:// are fine), Toggle Hidden Files, Refresh and Collapse All. Expanded folders refresh by themselves when files appear or disappear.
On Remote - SSH, WSL and Dev Containers the view browses the remote machine.
Archives

Filebay reads:
| Format |
Extensions |
| Zip, including ZIP64 and self-extracting zips |
.zip .jar .war .ear .apk .aab .ipa .vsix .xpi .epub .nupkg .whl |
| Tar (ustar, GNU and pax long names) |
.tar |
| Gzip-compressed tar |
.tar.gz .tgz |
| A single gzip-compressed file |
.gz |
Clicking an archive anywhere in VS Code (the Explorer, the Files view, Quick Open) opens the archive viewer: the contents as a folder you can walk through, with sizes, compression and dates. From there, or from the right-click menu:
- Extract All / Extract Here puts everything in a new folder next to the archive.
- Extract To… extracts the archive, one folder of it or one file to a folder you pick.
- Open Archive as Workspace Folder adds the archive to the workspace, read-only, so it shows in the normal Explorer.
- Reveal in Files View shows where it is in the tree.
Files inside an archive open as read-only editors at addresses like archive:/app.zip/src/index.ts, so Compare, Copy, Go to Line and the Outline work as usual. An archive inside an archive opens the same way.
Extraction never writes outside the folder you chose: entries named ../something or with absolute paths, and symbolic links, are skipped and reported.
Limits. Archives are read-only. Password-protected zips are listed, but their files can't be opened. 7z, rar, .tar.bz2, .tar.xz and zstd are recognised but not read yet. VS Code's workspace search (Ctrl+Shift+F) and Quick Open don't look inside an archive opened as a workspace folder: VS Code only offers that to extensions through an API that isn't available to published extensions.
Tables: CSV, TSV and Excel

.xlsx and .xlsm workbooks open as a table straight away, one tab per sheet. CSV and TSV files keep opening as text, because you might want to edit them; click Open as Table in the editor title bar (or right-click the file) to see the table. To always open them as a table, turn on filebay.csv.openAsTableByDefault.
In the table:
- click a column header to sort (numbers sort as numbers, blanks go last), click again to reverse, a third time to undo;
- type in Filter rows to keep only the rows that contain the text;
- drag a column edge to resize it, double-click it to fit the content;
- move around with the arrow keys, Page Up/Page Down and Ctrl+Home/End; Ctrl+C copies the cell, Ctrl+Shift+C the row.
CSV files are read with their encoding (UTF-8, UTF-16 with a byte order mark, or Windows-1252), their delimiter (comma, semicolon, tab or pipe) and whether the first row is a header detected for you; untick First row is the header if it got that wrong. Quoted fields with line breaks inside are fine. Hundreds of thousands of rows scroll smoothly.
Excel cells show their values: text, numbers, booleans, errors, and dates as 2024-05-17. Formulas show their last calculated result. Formatting, merged cells, charts and hidden sheets are not shown. Old .xls files and password-protected workbooks aren't supported.
PDF

PDFs open in a viewer with page navigation, zoom (Fit Width, Fit Page, Ctrl++/-), the document outline, text selection and Find in document. Password-protected PDFs ask for the password.
If you'd rather use another PDF extension, right-click the tab → Reopen Editor With… → Configure default editor for '*.pdf'…. The same works for the archive and spreadsheet viewers.
Peek as Hex
Right-click any file → Peek as Hex shows its size, a guess at its type from the first bytes, and the first 64 KB as a hex dump.
Settings
| Setting |
Default |
|
filebay.files.roots |
all |
Which groups the Files view starts from, and in which order: pinned, home, workspace, drives, recent. |
filebay.files.showHidden |
false |
Show dotfiles in the Files view. |
filebay.archive.cacheMB |
64 |
A .tar.gz up to this size (decompressed) is kept in memory after it's first read, so opening more files in it is instant. |
filebay.archive.maxEntryMB |
256 |
Files inside an archive larger than this don't open in an editor; extract them instead. |
filebay.preview.maxMB |
200 |
Tables and PDFs larger than this ask before loading. |
filebay.csv.openAsTableByDefault |
false |
Open .csv and .tsv files as a table instead of text. |
Commands
All under Filebay in the Command Palette: Go to Path…, Toggle Hidden Files, Refresh, Collapse All, Pin Folder, Reveal in Files View, Extract Here, Extract To…, Open Archive as Workspace Folder, Open as Table, Peek as Hex.
Privacy
Filebay works offline. It sends nothing anywhere and has no telemetry.
License
MIT. Filebay bundles pdf.js (Apache 2.0) and codicons (CC BY 4.0); see ThirdPartyNotices.txt.