Skip to content

Allow to hide editor title section entirely (tabs, breadcrumbs) (#33607) - #195222

Merged
Benjamin Christopher Simmonds (benibenj) merged 12 commits into
mainfrom
benibenj/noTabBar
Oct 18, 2023
Merged

Benjamin Christopher Simmonds (benibenj) merged 12 commits into
mainfrom
benibenj/noTabBar

Conversation

@benibenj

Copy link
Copy Markdown
Contributor

Allow to hide editor title section entirely (tabs, breadcrumbs) #33607

Changing showTabs from boolean to enum:

  • multiple: Multiple tabs with breadcrumbs below (if enabled)
  • single: One tab filling the entire width of the tab bar (this is the breadcrumb)
  • none: No tabs, no breadcrumbs

@bpasero Benjamin Pasero (bpasero) changed the title Benibenj/noTabBar Allow to hide editor title section entirely (tabs, breadcrumbs) (#33607) Oct 10, 2023

@bpasero Benjamin Pasero (bpasero) left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🆒

Besides my inline feedback, can you do a fulltext search over showTabs, there are still a few cases that treat the setting as boolean, specifically:

  • ToggleTabsVisibilityAction
  • settings description (This value is ignored when #workbench.editor.showTabs# is disabled)
  • some context key expressions (ContextKeyExpr.has('config.workbench.editor.showTabs'))

Comment thread src/vs/workbench/browser/layout.ts Resolved
@benibenj

Copy link
Copy Markdown
Contributor Author

What about the toggle tab visibility? I think we should turn it into two commands which we can show on the tabs container. hide editor tabs and single editor tab. Not sure about the naming yet. We could make the hide editor tab also available on the single tab (maybe also show multiple tabs).

Alex0007 pushed a commit to Alex0007/vscode that referenced this pull request Oct 26, 2023
Allow to hide editor title section entirely (tabs, breadcrumbs) (microsoft#33607)
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants