This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 261973 - IDE does not format native javascript functions
Summary: IDE does not format native javascript functions
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 8.1
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-15 11:06 UTC by jvence
Modified: 2016-05-15 11:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jvence 2016-05-15 11:06:42 UTC
I am using Netbeans to develop GWT apps which has native function as follows:

    public native void jsClearLayer(String layerid, boolean bPinDetail)/*-{ 
              var currentmap=$wnd.map;            
               if (currentmap.getLayer('markers_'+layerid))
                currentmap.removeLayer('markers_'+layerid);
         }-*/;

When formatting the class file, these are completely ignored. They should be formatted along with all other functions/code in the file.