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
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Hello, I was wondering why activate(): void isn't activate(state: any): void? Thanks to the state parameter it's possible to pass parameters between uses. I am developing a package that is based on language server, but I also have a pane, which is used to define JSON schema URL. However,
I when I export activate(state: void), it doesn't trigger and only the one bundled with AutoLanguageClient does. I need the state parameter, so I know what schema was defined and also if the pane was visible before.
Wouldn't it make more sense to include the parameter to be able to pass the state?
The text was updated successfully, but these errors were encountered:
Hello, I was wondering why
activate(): void
isn'tactivate(state: any): void
? Thanks to thestate
parameter it's possible to pass parameters between uses. I am developing a package that is based on language server, but I also have a pane, which is used to define JSON schema URL. However,I when I export
activate(state: void)
, it doesn't trigger and only the one bundled withAutoLanguageClient
does. I need thestate
parameter, so I know what schema was defined and also if the pane was visible before.Wouldn't it make more sense to include the parameter to be able to pass the state?
The text was updated successfully, but these errors were encountered: