Skip to content

Commit 69d89d8

Browse files
committed
Move activation events to Extension Authoring
1 parent 4737fe1 commit 69d89d8

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

release-notes/v1_103.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,14 @@ _Theme: [Sharp Solarized](https://marketplace.visualstudio.com/items?itemName=jo
456456

457457
## Extension Authoring
458458

459+
### Terminal activation events
460+
461+
Two new activation events are available for extensions:
462+
463+
* `onTerminal`: Triggered when any terminal is opened.
464+
* `onTerminalShellIntegration`: Triggered when rich shell integration is activated for a terminal.
465+
466+
You can specify a `shellType` to target specific shells. For example, `onTerminalShellIntegration:bash` activates when shell integration is enabled for a Bash terminal.
459467

460468
## Proposed APIs
461469

@@ -487,15 +495,6 @@ The new Chat Session Provider API proposal enables extensions to integrate their
487495

488496
This API is still in early stages and is likely to change. However we're already using it to power the new [GitHub coding agent session flow](#chat-sessions-experimental), which loads chats from GitHub and allows you to chat with an agent that is controlled entirely by GitHub.
489497

490-
### Terminal activation events
491-
492-
Two new activation events are available for extensions:
493-
494-
* `onTerminal`: Triggered when any terminal is opened.
495-
* `onTerminalShellIntegration`: Triggered when rich shell integration is activated for a terminal.
496-
497-
You can specify a `shellType` to target specific shells. For example, `onTerminalShellIntegration:bash` activates when shell integration is enabled for a Bash terminal.
498-
499498
### Task execution terminal
500499

501500
Extension authors can now access the terminal associated with a running task via the new `taskExecution.terminal` property. This makes it easier to identify which terminal is linked to a specific task and interact with it programmatically.

0 commit comments

Comments
 (0)