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.
Please try this: Ext.define('MyApp.foo.Bar', function() { var id = 0; return { nextId: function() { return ++id; } }; }); => this object is not recognized, no cc, name in Ext.define's first parameter looks like plain string Product Version: NetBeans IDE Dev (Build web-main-10912-on-20130626) Java: 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15 System: Linux version 3.2.0-45-generic-pae running on i386; UTF-8; en_US (nb)