Go (the programming language) support
Pavel Petrushkov
onehundredof at gmail.com
Mon Aug 25 16:44:15 UTC 2014
On Mon, Aug 25, 2014 at 4:12 PM, Nicolai Hähnle-Montoro <nhaehnle at gmail.com>
wrote:
> Hello everybody,
>
> are there any existing projects or efforts in development that intend
> to support Go in KDevelop beyond the syntax highlighting in Kate? A
> quick Google search only shows a Github repository in which nothing
> ever seems to have happened.[0]
>
>
Hello,
as Milian pointed out - plugin is already in development!
It seems like Go should actually be quite accessible to add support
> for, e.g. packages for parsing Go are provided as part of the standard
> Go distribution. This could be leveraged with an approach similar to
> gocode [1], where a daemon written in Go would do all the parsing and
> communicate with the KDevelop process to answer definition-use and
> code completion queries.
>
>
Unfortunately, plugin doesn't use go parsing package or gocode(mainly
because I didn't know about them when I started), but it has it's own
parser written with KDevelop-PG-Qt. Right now my priority is to implement
most important missing functionality and get source code to a more
maintainable state. But you and anyone else is welcome to look into porting
it to use third party tools.
If you decide to try it out, please be sure to give me some feedback on how
it works. I'm not a Go expert myself, so some insights would be great. If
you have troubles installing plugin check out instructions on my old github
page https://github.com/OneHundRedOf/kdev-go, just don't forget to get
sources from projects.kde.org.
Thanks,
Pavel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20140825/f5377f7c/attachment.html>
More information about the KDevelop-devel
mailing list