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

Summary: IDE does not format native javascript functions
Product: editor Reporter: jvence <jvence>
Component: Formatting & IndentationAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: jvence
Priority: P3    
Version: 8.1   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

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.