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.
Using tab wrapping to enclose selected text into tags does not work with .js files. Product Version = NetBeans IDE 7.1 (Build 201201101530) Operating System = Mac OS X version 10.7.2 running on x86_64 Java; VM; Vendor = 1.6.0_29 Runtime = Java HotSpot(TM) 64-Bit Server VM 20.4-b02-402
Of course tags are meant, not tabs. I renamed the subject.
Sorry, I don't see any advantge of the wrapping by tag in .js file case. Instead of that you can in the new javascript editor select your code and apply the hint on the left to wrap the code by standard JavaScript construts like if, while, function etc.