Plugin interaction
| Newsgroups | gmane.comp.kde.devel.kwrite |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I'm developing some advanced features for two languages, namely flow and Russell , and I want to use LSP plugin for interaction with language server. For this purpose I need to establish interaction between my plugins and LSP plugin so that I could pass a message to a plugin and receive an answer via a callback. Right now I don't see a possibility to do it via the current KTextEditor::Plugin interface. Maybe it is worth adding a method like
virtual void passMessage(const QString& message, void (callback)(const QString& answer)) {
callback(QString());
}
to the
KTextEditor::Plugin with the default implementation ?
Regards, Dmitry Vlasov