Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Feature] Drag-and-drop tabs with auto-split on drop #601

RA1NCS started this conversation in Ideas
Discussion options

Feature summary

Tabs in Athas currently can't be dragged or reordered, and there's no way to split the editor by dragging a tab onto another tab or to the edge of the editor area. This is a standard interaction model in VS Code, Zed, JetBrains IDEs, and most modern editors.

Requested behavior

  • Tabs should be drag-and-droppable within the tab bar to reorder them
  • Dragging a tab over another tab should offer a split (show a drop indicator for left/right/top/bottom split zones)
  • Dragging a tab to the far right of the tab bar (or off the bar entirely) should trigger an auto-split, opening the tab in a new pane alongside the current layout
  • Drop zones should show a visual highlight to indicate where the tab will land

Why this matters

This is a core editor workflow. Without it, organizing a multi-file workspace requires multiple manual steps that interrupt focus. Drag-to-split in particular is how most developers instinctively reach for when they want to compare two files side by side.

Implementation note

Since Athas uses React for the frontend, a library like @dnd-kit/core or react-dnd could handle the drag primitives. The split pane state would need to be updated accordingly to reflect the new layout tree on drop.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /