Skip to content

API Request: Move Tab #8234

@rebornix

Description

@rebornix
  • VSCode Version: 1.3.0-Insiders
  • OS Version: OSX

Per #6605 , we already exposed APIs to move active editors across groups. And we do support drag and drop tabs so I'm thinking can we expose tabs moving functionalities as API, then people can move tabs by commands.

This will benefit Vim extensions as moving tabs is a useful often-used command. For now only the last four commands can be implemented with existing APIs.

:tabs         list all tabs including their displayed windows
:tabm 0       move current tab to first
:tabm         move current tab to last
:tabm {i}     move current tab to position i+1

:tabn         go to next tab
:tabp         go to previous tab
:tabfirst     go to first tab
:tablast      go to last tab

@bpasero @kieferrm

Metadata

Metadata

Labels

apifeature-requestRequest for new features or functionalityworkbench-tabsVS Code editor tab issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions