[
https://issues.apache.org/jira/browse/NETBEANS-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369096#comment-16369096
]
Christian Lenz commented on NETBEANS-206:
-----------------------------------------
So the original ticket, this one, was requestion JSNI support. So what you did
is adding the coloring for the annotation and a new hint for converting from
JSNO to the annotation.
So if you don't want to add JSNI support as well, because this is what I was
asking for, is it correct, that I can reuse your file:
https://github.com/JaroslavTulach/incubator-netbeans/blob/07f96ca1d7842aaa3a766ad3227316a239a40b25/html.editor/src/org/netbeans/modules/html/editor/embedding/JsEmbeddingProvider.java
and change the code to and the name like JSNIEmbeddingProvilder.java to my
needs? Like to search for {code}/*-{ ... }-*/{code}
right?
> 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
> 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