On Wed, 21 Aug 2019, 00:54 rohan julka, <rohanjulk...@gmail.com> wrote:

> Any idea on how to set a specific classpath to the plugin source code (we
> know what dependencies to add but don't know where to put them in order to
> let groovy scripts see them) so that Netbeans will recognize related
> imports and so code autocompletion will be available?
>
I've done this for in-memory Java files. I assume the Groovy support will
require something similar. Register a ClassPathProvider in global services,
and also make sure the paths are in the global path registry.

My code doing this is at
https://github.com/praxis-live/praxis-live/tree/master/praxis.live.pxj/src/org/praxislive/ide/pxj

Best wishes,

Neil

Reply via email to