chat top-level property

VSCodeChat get chat

VS Code chat API.

Provides chat participant operations:

  • Create chat participants
  • Handle chat requests
  • Respond with markdown/code

Example:

final participant = await chat.createChatParticipant('myext.helper', handler: myHandler);

Implementation

VSCodeChat get chat => VSCode.instance.chat;