atom-languageclient icon indicating copy to clipboard operation
atom-languageclient copied to clipboard

Why is activate() without parameter?

Open ghost opened this issue 6 years ago • 1 comments

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?

ghost avatar Mar 27 '19 23:03 ghost

Development of atom-languageclient has officially moved to https://github.com/atom-ide-community/atom-languageclient 🎉

If this is still an issue please consider opening an issue on that repo.

UziTech avatar Oct 19 '20 19:10 UziTech