atom / atom-languageclient

Language Server Protocol support for Atom (the basis of Atom-IDE)
https://ide.atom.io/
MIT License
388 stars 78 forks source link

Why is activate() without parameter? #265

Open ghost opened 5 years ago

ghost commented 5 years ago

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?

UziTech commented 3 years ago

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.