[
https://issues.apache.org/jira/browse/NETBEANS-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16334265#comment-16334265
]
Christian Lenz commented on NETBEANS-206:
-----------------------------------------
As I see it correctly JSNI is still not possible, right? I mean this ticket was
for adding JS syntax highlighting and code completion to `*-\{ ... }-*`
So I had a look and you only implemented the stuff for the `@JavaScriptBody`
annotation and the convert hint from JSNI to JavaScriptBody. But, indepdendent
from HTML4J, JSNI is needed e.g. GWT < 2.7, so this functionality should still
be exist in NetBeans. Your functionality will only add JS syntax hightlighting
and code completion to the annotation, which is also good, but the initial
topic of this ticket is: Add support for JSNI. Or am I wrong?
Cheers
Chris
> 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
> Priority: Major
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists