Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Why is activate() without parameter? #265

Open
ghost opened this issue Mar 27, 2019 · 1 comment
Open

Why is activate() without parameter? #265

ghost opened this issue Mar 27, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 27, 2019

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?

@UziTech
Copy link

UziTech commented Oct 19, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant