Repository navigation
Description
Hello there, a lot of the standard apps in recent versions of macOS have started to inline their titlebar into their tabs, menu buttons etc. I assume this is mainly to save vertical space on laptops. However, like all UI trends, apps that don't quite keep up end up feeling old-fashioned 👯
I started a fork of VS Code that uses the inline style:
There needed to be a few changes:
- I moved the sidebar width to 76, to fit the traffic lights
- I increased the height of the elements that act as the titlebar by one pixel, mainly so that they align with the centre position of the titlebar items
- Allow mouse dragging via the sidebar, and the title elements
Fork: https://github.com/orta/vscode/tree/inline-titlebar
Changes: orta/vscode@master...mac-titlebar-inline
I realise that VS Code is a cross-platform project, and so these changes should probably only be applied in the context of macOS, which I'm happy to look into with some advice (I don't have a windows/linux machine to hand for example).
I also know that no-one wants big unexpected UI changes on their OSS projects, so I've not made it as a PR, but I'd love to know if/what I can do to move this upstream?
Sidenote: If someone can tell me how, I'm happy to make a downloadable build for people to try too, I couldn't find a way to do it - I'm still quite fresh to npm projects.

Activity
orta commentedon Sep 21, 2016
Here's a GIF of me prodding and poking around with it too
joaomoreno commentedon Sep 21, 2016
Good Lord, this looks amazing.
bpasero commentedon Sep 21, 2016
Orta Therox (@orta) cool! how does it work though if you have a whole bunch of tabs open to the top? no more window drag?
orta commentedon Sep 21, 2016
Looks like right now the tabs themselves are draggable as the window - which causes bugs as this interferes with re-ordering tabs normally. I can declare them as undraggable easily.
An option here is to have space above the tabs ( Chrome does this for example )
joaomoreno commentedon Sep 21, 2016
Which is still pretty ugly. But you can always drag it from the space around the
Close,MinimizeandMaximizebuttons, can't you?orta commentedon Sep 21, 2016
Yep, these are the current draggable regions ( I just removed tabs from being draggable )
The traffic lights, and if there is a sidebar open, the title of the sidebar

All of the sidebar:

Any non-tab content of the top bar, including around the buttons on the right:

joaomoreno commentedon Sep 21, 2016
Oh wow. That's just awesome.
PS: I learned something today: traffic lights!
bpasero commentedon Sep 21, 2016
Orta Therox (@orta) is it possible to make the side bar size smaller and still fit the window icons? I feel like we loose a lot of horizontal space to accomodate for the icons. I am not sure how people would like that if they care about space for the editor... and in fact, many have asked for a way to hide that sidebar too.
orta commentedon Sep 21, 2016
With respect to smaller width, it can, but this is roughly the minimum to ensure that there is a consistent margin applied to the buttons.
Which is roughly the same as say:
e.g. this is 50px as current:
As a counter-argument, the new Slack beta is more aggressive with its management of the titlebar:
which is the same
x, yasIt does stick out a bit more, as those positions are the default for not-inlined titlebars ( e.g. normal stick a bar on the top ones, like current ) - with that it is possible to reduce the size down to 68px
Other possibilities are less trivial, Xcode for example has these sidebar menu items above the contextual sidebar
which makes them togglable along with the sidebar when you want more focus:
which, if you'll excuse my quick "rendering" in CSS could look something on the lines of:
There's potential in that, which I can jam on if you're interested (and make a higher fidelity version tomorrow ) - though I'd recommend using the other insets for the traffic lights, then there's a nice visual consistency along the top row
joaomoreno commentedon Sep 21, 2016
Love the depth you go into this.
I don't really feel the same way as Benjamin Pasero (@bpasero) and think the width is good. We can even show more in that bar, given the added width, like the keyboard shortcuts to open each viewlet (like Slack) or a label.
hochem commentedon Sep 21, 2016
Hello! I've also been experimenting with a different UI for vscode and I really like the concepts shown here. I had some very similiar ideas:
But with the completely titlebar-less design (tabs starting at window frame) and multiple editors and tabs it's quite hard to find a good solution for window dragging (which should also be consistent with the default macOS implementation).
Currently I am using this design (again very similiar to the latest image of Orta Therox (@orta)):
With this design I can easily show and hide the sidebar using a keyboard shortcut and the activitybar isn't taking up extra horizontal space. And there is still a dark titlebar (currently without a title) to drag the window around, but I will probably go back to the default titlebar and just keep the sidebar and activitybar design. This design (or a design where the activity bar can be hidden) would also greatly benefit from a button in the footer (maybe left corner where previously the extensions button was) to toggle the sidebar visibility. I don't have my changes online yet, as they seem quite hacky, are only for the dark theme and they are a part of other changes I made, but if there's any interest, I can isolate and push them.
135 remaining items
martonlederer commentedon May 16, 2023
I wonder why VSCode is on GitHub if even the highest voted issues are just blatantly ignored...
kanekv commentedon Jun 2, 2023
With customize UI not working anymore, this issue suddenly became very annoying.
lehni commentedon Jun 3, 2023
Kane K (@kanekv) see here for a workable solution for the time being:
iocave/customize-ui#156 (comment)
iocave/customize-ui#170 (comment)
albert-ying commentedon Jun 4, 2023
I mean, is it really hard to do? Maybe we can just crowd source some fund and hire someone to do it and send the PR. I think everyone here are willing to pay few $ to see this fixed soon.
KisaDmitriy38 commentedon Jun 4, 2023
DannyAndres commentedon Jun 29, 2023
come on microsoft, let me forget that I'm using an electron app and let me live the fantasy where vscode is a native app 😭. I swear one more annoying thing with vscode and I won't care how much I suck at vim. I'll do it 💀
julesjacobs commentedon Aug 9, 2023
People are buying new Macbooks just to get the 10 extra vertical pixels, and VS code could give us 20 pixels for free. Microsoft, you can do it!
natew commentedon Aug 11, 2023
btw everyone Customize UI came back with a version that works again on the latest vscode!
https://marketplace.visualstudio.com/items?itemName=drcika.apc-extension
https://twitter.com/natebirdman/status/1689787579007410178
robertoandrade commentedon Oct 8, 2024
was looking for a way to move the top-horizontal-oriented activityBar up that empty space on the titleBar next to the traffic lights, before the command pallete and back/forward buttons, any tips on using either the Orta Therox (@orta) fork or Apc Extension?
On windows they seem to place the hamburguer menu up there on the left next to the app's icon, was hoping that would be possible not only on macOS but on Windows too 🙏
jdanbrown commentedon Dec 11, 2024
The Apc Customize UI++ extension broke in the VSCode 1.94 update, so afaik there's no longer any way to hide the title bar on macOS:
Please give this issue some love!
jdanbrown commentedon Dec 13, 2024
Ok, after some more digging I found Song (@subframe7536)'s new Custom UI Style extension 🎉 which provides a new way to hide the title bar on macOS:
They built it as a replacement for Apc Customize UI++ after VSCode 1.94, but they had to take a much hackier approach to make it work (regex replacements on minified js files, instead of AMD dynamic
define()injection). Details in this other issue:But I still vote for VSCode to support these kinds of electron window options directly, because of how brittle these kinds of extensions always are. 🙏
Adding another motivating example for this thread, using Custom UI Style I can make a frameless VSCode window on macOS (plus no rounded corners, and no traffic light buttons, and some extra font/sizing configs too):
lehni commentedon Dec 27, 2024
I'm sharing my updated instructions to achieve the
macOS wide activity-bar with native traffic lightslook, that was originally provided by my Titlebar-Less VSCode for macOS, then replaced by Customize UI, Apc Customize UI++ and now Custom UI Style:subframe7536/vscode-custom-ui-style#16
robertoandrade commentedon Jan 12, 2025
Thanks for sharing these updates guys! From what I looked so far, these tools wouldn't allow me to achieve what I'm looking for with keeping the current native title bar and move the top-horizontal-oriented activity bar up onto the title bar keeping the traffic lights and the command palette and all other buttons that are featured there currently, perhaps just moving the command palette slightly to the right so all of the activity bar icons can fit on the right hand side there? Something like the below:
On windows they have the vscode icon and menu up there while on macOS it's kept outside the window on the OS menu bar, but still would like a way to disable the windows menu in favor of the top activity bar in its place:
They recently added the integrated Copilot icon up there as well and have options to toggle which items you want to show in the title bar, so moving the activity bar there should be possible with custom title bar hacks :)
github-account1111 commentedon Apr 16, 2026
Is that really necessary? I know vertical space is all the rave right now, but horizontal space is also important.
Why not keep everything as is and simply integrate the tab bar into the title bar like in Chrome?
toggle fullscreen class for microsoft#12377