Skip to content

Add isSelected property to editor tabs in the extension development API #251827

Open
@standard-software

Description

@standard-software

I have developed an extension that retrieves file paths from the context menu of editor tabs.

Copy Tabs FilePath - Visual Studio Marketplace

Initially, I was planning to create something that could retrieve file paths from multiple selected tabs, but when I found out that this wasn't possible, I had to change the direction of the project.

VS Code has supported multiple tab selection since version 1.90.
May 2024

However, as an interface for extensions, there is no isSelected property, so it's not possible to detect the state when multiple tabs are selected.

VS Code API | Visual Studio Code Extension API
https://code.visualstudio.com/api/references/vscode-api#Tab

I would like you to provide an isSelected property in the Tab interface.
Thank you for your consideration.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions