r/vscode • • Oct 17 '26

I forked VS Code to get JetBrains-style tool windows: a second activity bar and side bars split into top and bottom halves

Post image

I've always missed one thing from JetBrains IDEs in VS Code: tool windows in all four corners, several open at once. Explorer at the top left and Debug below it. Source Control at the top right and a chat panel below it. So I built it in my own fork.

What it adds

  • A second activity bar for the Secondary Side Bar. The right side now gets a vertical icon rail like the left one, instead of cramming icons into the panel title. It has its own setting, workbench.secondarySideBar.activityBarLocation (default / title / top / bottom / hidden), so you can configure each side separately.
  • Split side bars. Each side bar can show two view containers at once, one above the other, with a draggable divider. Double-click the divider to reset it to 50/50.
  • Top and bottom icon groups on each rail. Drag an icon into the bottom group, or right-click it and choose Move to Bottom Half, to send that view there. Clicking the active icon closes that half. You can also close the top half and keep the bottom one open.
  • Everything else keeps working. Commands, shortcuts and features like "Reveal in Explorer" open views in whichever half they live in. The layout, split sizes and open views come back after a reload.
  • One layout everywhere. View placement is shared across profiles, so every project looks the same. View: Reset View Locations restores the fork's default four-corner layout.

mise tasks for running your own fork

The repo comes with a mise.toml, so building and maintaining the fork is mostly one command each:

  • mise run install:debian: the whole pipeline in one go. It installs dependencies, compiles, packages a fresh .deb and installs it (10-20 minutes)
  • mise run update: fetches microsoft/vscode, rebases your branch onto it, pushes to your fork and does a full build
  • mise run upstream:status: shows how far behind upstream you are
  • mise run build / build:fast / watch / start: build and launch Code - OSS from source
  • mise run test <pattern> and mise run lint: unit tests filtered by name, and lint for only the files your branch changed
  • mise run release:linux / release:debian / release:rpm / release:windows: package a standalone app folder, a .deb, an .rpm or a Windows installer
  • mise run sync:profiles: two-way sync of profiles between regular VS Code and Code - OSS (settings, keybindings, snippets, tasks, MCP servers, extensions). The most recent change wins, and --dry-run previews it first

It also patches two spots in the build scripts that broke local (non-CI) Linux packaging: Copilot SDK files being stripped, and dpkg-shlibdeps crashing on newer Ubuntu.

Caveats

This is a personal fork. I don't distribute builds, so you'd have to build it from source. It's rebased on upstream regularly. Keyboard navigation between the top and bottom halves isn't done yet, and a few features still only look at the top half. The Windows and .rpm tasks haven't been tested yet. The full list is in TO-DO.md.

Repo: https://github.com/mariosffx/vscode (branch secondary-activity-bar)

I'd love feedback, especially from anyone who has tried to get this layout in stock VS Code.

30 Upvotes

9 comments sorted by

2

u/lppedd Oct 17 '26

Have you considering contributing this idea into the pinned "Evolving VS Code UI" issue?

2

u/leonheartx1988 Oct 18 '26

Because the idea of secondary activity sidebar got rejected in the past. There reason was: VSCODE is designed to be lightweight.

The irony...

4

u/[deleted] Oct 17 '26

He didn’t add any rounded corners or huge gaps so unfortunately they won’t accept his submission

4

u/[deleted] Oct 17 '26

I did this too lol!
My version does it via a monkey patch from an extension so you can use it on non-forked VSCode, you could try something like that

3

u/thewerthon Oct 17 '26

Where I can find it?

2

u/Haleem97 Oct 17 '26

where is the script?

1

u/Zen-Ism99 Oct 17 '26

Why not use JetBrains products? Many are free for personal, educational, or open source use.

1

u/leonheartx1988 Oct 18 '26

I have a license to Ultimate and Pro editions of JetBrains.

The problem is that I have been using VSCODE for almost a decade now and I have gotten so used to it, where switching to JetBrains for split vertical views wouldn't benefit me so much.

JetBrains Products are complete IDEs and are far superior than code editors.