I am not sure if this is right forum, but I have not found any other.
We use Java scripting and I just added JavaScript editor into our new application using RSyntaxTextArea and LanguageSupportFactory.
It works fine when using autocomplete for global classes like Math, Number, etc.
I would like it would work also for classes and variables that are bound using engine put() method when evaluating javascript using java scripting, like:
java code:
engine = new ScriptEngineManager().getEngineByName("JavaScript");
engine.put("obj", new MyClass());
So when i type obj. in editor, it would suggest methods of MyClass.
As I guess there is no support at this time. Is there any way to add them to JavaScriptAutoCompletion? I could list available classes and methods, but I do not know, how to bind them to JavaScriptAutoCompletion.
Thank you
Pavel
