gosu-idea sources and references to Java types

19 views
Skip to first unread message

Federico Tomassetti

unread,
Sep 23, 2015, 6:16:11 PM9/23/15
to gosu-idea
Hi, where I can find the gosu-idea source code? In particular I would be interesting in reading how to the code completion to references work. If I have jars among my dependencies how the plugin does access the list of classes contained in those JARs?
Thanks!

Luca Boasso

unread,
Sep 23, 2015, 6:39:21 PM9/23/15
to gosu...@googlegroups.com
This plugin uses our type system under the hood so we scan the jars and read the .class files with ASM to get the Java type information.
If you have .java files we parse them with the JavaCompiler api.

The source code of the new Intellij 14 plugin is not available at the moment. It basically uses Intellij api to do the same as above.

Regards,
Luca

On Wed, Sep 23, 2015 at 3:16 PM, Federico Tomassetti <f.toma...@gmail.com> wrote:
Hi, where I can find the gosu-idea source code? In particular I would be interesting in reading how to the code completion to references work. If I have jars among my dependencies how the plugin does access the list of classes contained in those JARs?
Thanks!

--
You received this message because you are subscribed to the Google Groups "gosu-idea" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gosu-idea+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages