[MS] Organize and revisit tabs with the keyboard - devamazonaws.blogspot.com

When you're moving between an implementation, its tests, and a related interface, the order of your open tabs can become a useful part of the task. But arranging that order and returning to a particular position shouldn't require a mouse trip each time. Visual Studio 2026 version 18.11 adds keyboard commands for both jobs: move the active tab into position, then jump directly to a tab by its visual position. The connection is the tab order itself. You can arrange a small working set and navigate that arrangement from the keyboard.

Put the active tab where you want it

Use Ctrl + Shift + PgUp to move the active tab one position left, or Ctrl + Shift + PgDn to move it one position right. For example, move a test file next to its implementation before you start comparing them. The command moves the tab; it doesn't switch to the neighboring document. If you use vertical tabs, the same shortcuts move the active tab up or down. They also work for tool windows hosted in the document well. The commands respect the organization you've already chosen:
  • Pinned tabs stay in the pinned section, and unpinned tabs stay in theirs.
  • A vertical tab stays within its project group.
  • Alphabetical sorting prevents manual reordering.
  • Preview tabs can't be moved.
The request for keyboard tab movement makes a useful distinction between moving and switching. One commenter described pinning and unpinning tabs as a workaround for arranging them without the mouse. These commands address arrangement directly.

Return to a position directly

Use Ctrl + NumPad1 through Ctrl + NumPad9 to activate the corresponding visible document tab in the active document group. Four document tabs arranged left to right in Visual Studio The mapping follows visual order, including pinned and unpinned tabs. Preview tabs don't consume a slot. If you switch document groups, the shortcuts use the order in the newly active group. That makes these position shortcuts, not permanent assignments to filenames. Reordering a tab changes which document occupies that position. Arrange the files first, then use their positions while you work.

Give tool window tabs the space they need

Tab layout matters for tool windows, too. If you dock Error List and Package Manager Console in the same group, the shorter label no longer needs a tab as wide as the longer one. Tool window tabs now size individually rather than all taking the width of the longest label.

The request for individually sized tool window tabs describes that wasted space directly. You can also set minimum and maximum tool window tab widths independently of document tabs in Tools > Options > All Settings > Environment > Tabs > Tool Window Tabs.

Document tabs, tool window tabs, and window headers now share a consistent 24-pixel height. When you arrange tabs with the mouse, the drop preview aligns more accurately with their destination. High-contrast fixes also keep tab borders from being clipped.

Keep your preferred bindings

You can find Window.MoveTabLeft and Window.MoveTabRight in Tools > Options > Environment > Keyboard and assign other shortcuts. The numbered-tab commands also participate in keyboard customization. The new movement defaults replace the Text Editor bindings for Edit.ViewTopExtend and Edit.ViewBottomExtend. Those commands still exist, so reassign them if they're part of your editing routine. For background on pinned tabs, preview tabs, and document groups, see Customize window layouts and personalize tabs. Those existing layout choices still determine the structure these commands work within. Start with two or three documents from your current task. Put them in a useful order, then try returning to them by position instead of cycling through every open tab.
Post Updated on October 19, 2026 at 03:00PM
Thanks for reading
from devamazonaws.blogspot.com

Comments

Popular posts from this blog

[MS] Boosting Azure DevOps Security with GHAS Code Scanning - devamazonaws.blogspot.com

[MS] Pulling a single item from a C++ parameter pack by its index, remarks - devamazonaws.blogspot.com

[MS] GitHub Copilot upgrade assistant for Java技术预览发布 - devamazonaws.blogspot.com