-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Distraction free (zen) mode #12940
Comments
Do you mean something like when you press |
@ihorskyi you can hide the sidebar and set the window to full screen (from the view menu). You can even hide the status bar too. |
@smuuf what is F11? If that is a full screen, then it is just a full screen, there are still lot of distracting elements occupying screen real estate. @bpasero Could you please show the way to hide sidebar so it is not visible at all? And is it possible to hide tab titles? Picture says a thousand words, here are examples of what I mean: AtomDefaultZEN modeWebStormDefaultDistraction free modeVSCodeDefaultFullscreen without status bar (Maximum what I could remove from screen)BTW, every editor hides scrollbars by default nowdays |
@ihorskyi you could disable tabs but not hide them. you can also not hide the activity bar to the far left currently, but we are thinking about a zen mode because other users asked for it too. |
What a coincidence! Last week I decided to create an extension do to exactly that 😄 . But unfortunately I had to pause, because it would be necessary some API improvements. I was thinking/searching the source show to accomplish it. There are 3 commands that should be updated, to accept a 'workbench.action.toggleStatusbarVisibility'
'workbench.action.toggleSidebarVisibility'
'workbench.action.toggleFullScreen' If it is not possible to update the commands to accept parameters, another idea is to add this attributes as User Settings. So, with the new API to update user settings (September release). The same API could be used to hide/show Tabs, Line Numbers, and other distractions. And also, the possibility to hide the Activity Bar, which already is reported (#1105) I would be happy to help, if needed |
I like that 👍 |
@TheColorRed, sorry, but you provided a super lame example, please have your own experience on how the real zen mode works in various apps.
|
Sorry... Maybe it is called something else then... Also my issue was closed because it was considered a duplicate of this. |
@ihorskyi re: auto-hide scrollbars: VS Code's scrollbar is actually transparent so you can see code under it. I agree that auto-hide when not searching might be nice as an option because it would remove the mild distraction, but there are some reasons to show the scrollbar at all times is that it does at times contain useful information, like indicators to show you where matches to Find queries are, and which lines of source have changed according to version control. If the ability to auto-hide the scrollbar were added, I'd recommend a three-way configurable option: editor.showScrollbar: { "always", "whenScrolling", "whenMatching", "never" } Although, hotkeys/commands/APIs should be able to override the behavior because a user might want to change these quickly and temporarily, like for instance when entering or leaving zen mode. I think "never" could work because we have the status bar and some editors like VIM work perfectly well without showing a scrollbar by showing percentage through the file your cursor is located at, or showing current and total lines in the status bar. Someone using zen mode might appreciate the ability to hide the scrollbar entirely and navigate through other means (would also help with the VIM plugin, incidentally). |
We pushed a first version of zen mode which will be available in tomorrow's insiders.
You can get out of full screen by toggling that action again or by going outside of fullscreen mode or by pressing Esc when no other context using escape is there (e.g. no find widget). Since some users do not want to go into fullScreen mode when going into zen we have provided the setting Currently zen mode is not adding any margin to the editor or hiding tabs. For this feel free to open new feature requests where we can debate on the usefulness of this. You can try it out and provide feedback - please note that we prefer new issues for additional feature requests in this area. |
@isidorn is it possible to hide tab title? |
@ihorskyi currently not but I am thinking about disabling tabs when in zen mode. So the title would still be there - it would just not be cluttered |
That is actually an interesting idea 👍 |
Would be most useful to have it in vscode. IDE/Editors that have it
The text was updated successfully, but these errors were encountered: