Hello, I was wondering whyactivate(): 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?
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?