Horizontal sidebar: Next/Previous Primary Side Bar View ignores reordered tabs

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

With the horizontal activity bar, the Next/Previous Primary Side Bar View commands do not follow the displayed tab order after tabs have been rearranged by dragging.

I want to group frequently used sidebar tabs together so that keyboard navigation moves between adjacent tabs. Reordering them visually does not change the navigation order.

Steps to Reproduce

  1. Set workbench.activityBar.orientation to horizontal.
  2. Drag another sidebar tab between Explorer and Search so they are no longer adjacent.
  3. Select Explorer.
  4. Run workbench.action.nextSideBarView.

In my configuration, these commands are bound to:

  • Ctrl+Alt+] → workbench.action.nextSideBarView
  • Ctrl+Alt+[ → workbench.action.previousSideBarView

Expected Behavior

Next and Previous follow the displayed tab order. Next from Explorer should select the tab now immediately after Explorer.

Operating System

Linux

Version Information

Version: 3.24.12
VS Code Extension API: 1.128.0
Commit: 37b865941ccb31e2fc90c685157534efca87f960
Date: 2026-10-09T20:56:41.904Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.10.0
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Linux x64 7.2.9-ogc3.1.fc44.x86_64

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report and for the clear steps. I reproduced it. With the horizontal activity bar, the Next/Previous Primary Side Bar View commands currently follow the default view order, not the order you moved the tabs into. I passed this to the team and I’ll reply in the thread if there’s an update.

For now, there are two workarounds if you want keyboard navigation to match your layout:

  1. Switch to the vertical activity bar: set workbench.activityBar.orientation to vertical and restart Cursor when prompted. In this layout, Next/Previous follows the order you drag the icons into.
  2. Or keep the horizontal bar and bind shortcuts directly to the views you want, for example workbench.view.explorer, workbench.view.search, workbench.view.scm, workbench.view.extensions. Open Keyboard Shortcuts, find the command, and add your own binding.

Let me know if one of these works for you.

Thanks! I confirmed that switching to the vertical activity bar makes the same shortcuts follow my rearranged order. I’m using that workaround for now.