[ 
https://issues.apache.org/jira/browse/NETBEANS-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16280257#comment-16280257
 ] 

Christian Lenz commented on NETBEANS-206:
-----------------------------------------

I added it here as a pull request: https://github.com/ksfreitas/gwt4nb/pull/41 
I don't know whether JSNI will be used in other cases except GWT. If so, it 
would be good to implement direct into the IDE instead of the GWT plugin.

It would be good to have this, because it would make the work with HTML4J even 
better. Now you use an annotation with string inside, which is very failure 
tolerant and not good practice IMHO.

> Please add support for JSNI
> ---------------------------
>
>                 Key: NETBEANS-206
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-206
>             Project: NetBeans
>          Issue Type: New Feature
>          Components: java - Editor
>    Affects Versions: Next
>            Reporter: Christian Lenz
>
> I figured out that you will add support for Mixed development support between 
> C/C++ and Java in netbeans 8.1: 
> http://wiki.netbeans.org/NewAndNoteworthyNB81. I really like that for JNI and 
> JNA but what about mixed development support for Java and Javascript like GWT 
> and the JSNI functions? I have to use GWT in our company and it is really 
> hard to find out errors when you only see commented methods like:
> {code}
> public static native void alert(String msg) /*-{
>   $wnd.alert(msg);
> }-*/;
> {code}
> I know there is a plugin called GWT4NB but for now, I don't see any benefits 
> to use this. Here is a description for JSNI: 
> http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html
> This would be a big enhancement to have syntax highlighting, navigation to JS 
> files like with C/C++ and Java, have code completion, and so on.
> Regards
> Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to