Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODE-630

Re-evaluate extension activation events and add `onChatParticipant`

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Developer Tools
    • 2
    • Iteration O (Nov 4 -25)

      In our recent changes we added the `onStartupFinished` activation event to our extension. This is likely activating our extension before folks are using it. Although it is in the background, we probably want to avoid activating until we need to. That will cause less cpu for users, and avoid slowing things down if they do have a slower comp.

      We may want to instead use the `onChatParticipant` activation event and remove
      https://code.visualstudio.com/api/references/activation-events#onChatParticipant 

      This ticket involves looking into the implications of changing it, and changing it if it's worth it. Is it still quickly responsive in the chat if we use that? We may want to keep the `onStartupFinished` if it does speed up the use of our participant.

            Assignee:
            gagik.amaryan@mongodb.com Gagik Amaryan
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: