You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This check doesn't properly work through right after our participant extension startup. It seems that it takes time to activate the copilot and it happens after our extension is up and running. Is there a way to listen for the activation of github.copilot-chat?
I also tried vscode.extensions.onDidChange to hide copilot-related CTAs when a user disables the copilot chat extension, but it looks like the event doesn't happen on disabling, only when you enable the extension.
The text was updated successfully, but these errors were encountered:
Actually, I played with this more, and GitHub.copilot also does not handle all cases. It looks like it is being activated earlier than github.copilot-chat so it covers out case to show or hide an icon when our extension is activated. But if we listen for vscode.extensions.onDidChange events considering that users might enable/disable the copilot in the meanwhile, the onDidChange is being triggered when the GitHub.copilot extension was enabled, but the isActive returns false. So the initial question is still valid, is there a way to listen for the onActivated state in this case.
We use the following check to decide whether or not to display copilot-related CTAs:
This check doesn't properly work through right after our participant extension startup. It seems that it takes time to activate the copilot and it happens after our extension is up and running. Is there a way to listen for the activation of
github.copilot-chat
?I also tried
vscode.extensions.onDidChange
to hide copilot-related CTAs when a user disables the copilot chat extension, but it looks like the event doesn't happen on disabling, only when you enable the extension.The text was updated successfully, but these errors were encountered: