|Is it possible to define the java-type of a variable in jruby to enable autocompletion? [message #1573451]
||Mon, 19 January 2015 19:10
| Al Bundy
Registered: November 2011
I have two projects in my workingset - the first one is a java-project with the main application, the second one is a dltk-project (jruby) with some customizing artefacts that can be deployed in the java-application.
The java-application puts different objects in the ScriptContext e. g. $object and $tool - depending on purpose of the artefact both variables can contain different types ($object is always the currently edited POJO and $tool is an utility-class for the scripts).
Is there a way to define the type of the variables to have autocompletion in the editor?
#magiccomment $object = com.myapp.dataobjects.BusinesspartnerDO
#magiccomment $tool = com.myapp.server.ServerScriptTool
now writing $object.set + ctrl+space should list all setters from com.myapp.dataobjects.BusinesspartnerDO
Is something like this possible?
Powered by FUDForum
. Page generated in 0.01991 seconds