INRIA / INRIA/spoon

Feature: GWT JSNI code Comment position

Open
#1,269 1 comment 0 reactions 0 assignees View on GitHub
feature good first issue help wanted
Dominant language
Java
Stars
2k
Forks
392
Avg merge
11h 24m
Merged PRs (30d)
36

Description

To create a native Javascript method in GWT a comment must be used:

```
void native alert(String msg)/*-{
// Javascript code here
$wnd.alert(msg);
}-*/ ;

```
Spoon generates the resulting code like this

```
/* -{
// Javascript code here
$wnd.alert(msg);
}- */
void native alert(String msg);
```

Is there a way to change the position?

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.