[ https://issues.apache.org/jira/browse/NETBEANS-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16294494#comment-16294494 ]
Jaroslav Tulach edited comment on NETBEANS-206 at 12/19/17 12:01 PM: --------------------------------------------------------------------- As far as HTML/Java goes, then I think my answer to these ideas has already been given: In January 2014 I wrote http://wiki.apidesign.org/wiki/MigrateFromGWT. The primary difference is that the `@JavaScriptBody` annotation has to be inserted into bytecode - e.g. it cannot be just a comment like JSNI. Yes, there there can be a syntax support, hint/conversion tool in the IDE and [~jlahoda] and [~tzezula] wrote one - here is [the code](https://github.com/apache/incubator-netbeans/compare/master...JaroslavTulach:jtulach/EditorJavaJS). was (Author: jtulach): As far as HTML/Java goes, then I think my answer to these ideas has already been given: In January 2014 I wrote http://wiki.apidesign.org/wiki/MigrateFromGWT. The primary difference is that the `@JavaScriptBody` annotation has to be inserted into bytecode - e.g. it cannot be just a comment like JSNI. Yes, there there can be a syntax support, hint/conversion tool in the IDE and [~jlahoda] and [~tzezula] wrote one - I am just not able to find the module right now. > 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 > Assignee: Jaroslav Tulach > > 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) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org