[Github-comments] [geany/geany] Support for Microsoft Language Server Protocol? (#1854)

Denis Feklushkin notifications at xxxxx
Mon May 7 09:18:17 UTC 2018


> Its probably going to be easier to just have your own autocomplete dialog

Ok, but at least it is need to add notify for start of dialog displaying.

> the Geany version is provided by Scintilla, but populated by Geany, and is strongly linked to Geany's tags and symbols mechanism that you won't be using. So its likely to be more complicated to modify to allow external input without breaking any existing functionality

Currently I use this code for autocompletion dialog in my own plugin without any problems:

```D
/// This is D language
    scintilla_send_message(
            doc.editor.sci,
            Sci.SCI_AUTOCSHOW,
            cast(uptr_t) alreadyEnteredNum,
            cast(sptr_t) preparedList.toStringz
        );
```

So it is only need some public function pointer inside of Geany what returns list for autocompletion and also another one for tips window. If plugin will be able to replace this pointers by its own it will be very usable.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1854#issuecomment-387008220
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180507/3719cc87/attachment.html>


More information about the Github-comments mailing list