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

Christian Lenz edited comment on NETBEANS-206 at 2/19/18 12:45 PM:
-------------------------------------------------------------------

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 [~jtulach]?


was (Author: chrizzly):
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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to