[Github-comments] [geany/geany] [WIP] Add gocode support for autocomplete (#1457)

elextr notifications at xxxxx
Tue Apr 4 23:45:13 UTC 2017


Good to see it work, but coding large amounts of filetype specific functionality into Geany core is not the way to go.

Instead the code in core should query a plugin that plugin uses gocode to answer the question.  Then another plugin could support [Language Server Protocol](https://github.com/Microsoft/language-server-protocol) and another could use [libclang](http://clang.llvm.org/docs/Tooling.html#libclang).

When the plugin is loaded it should register to be called instead of tagmangler for autocomplete.  Being able to register for other functions can then be added as separate PRs, eg formatting support, highlighting support (Scintilla willing), syntax error display etc etc

So the first thing is to specify the design of the interface to the plugin, and KISS.

-- 
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/pull/1457#issuecomment-291674393
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170404/040d0cc4/attachment.html>


More information about the Github-comments mailing list