GWT JSNI autocomplete? Follow
Hi,
I'm developing a wrapper in GWT around a javascript file, so i have to write a bunch of native methods to integrate with the js file. While i do have autocomplete on the native methods for Java Classes, it seems that IDEA does not recognize JS functions of a file defined in the .gwt.xml descriptor. So i have something like this:
descriptor gwt.xml:
...
<script src="script.js"/>
...
script.js:
function someFunction() {}
my java file:
...
public native void test() /*-{
$wdn.someFunction();
}-*/;
..
IDEA won't recognize '.someFunction();' on the Java file. Am i missing something here? Or IDEA does not support it? I'm using the latest EAP(#10624) build btw.
Regards
Roberto Cortez
Please sign in to leave a comment.
Yes, IDEA doesn't support it. Please file a Jira issue for this (http://jetbrains.net/jira/browse/IDEA).
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Thank you for the quick answer