Skip to content

Allow addressing particular terminals and terminal commands in chat attachments #259261

@Tyriar

Description

@Tyriar

Currently the terminal contexts #terminalSelection and #terminalLastCommand work purely off the active (most recent) terminal. Since everything used to live in the extension, this was much more difficult to accomplish as there's no unique addressable API such as Terminal.resource: URI that we could have used, and referencing a particular command was basically impossible due to not having access to CommandDetectionCapability in core.

We're moving all this stuff to core (core #252650, other tools #259260), so this is something we could do.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions