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.
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.