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.
Created attachment 155522 [details] IDE log Please try to format e.g. jQuery.min.js (tested with version 3.0.0-alpha). It barely does any visible formatting. This works fine in 8.0.2 Thank you Product Version: NetBeans IDE Dev (Build 201508210002) Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14 System: Linux version 3.16.0-30-generic running on amd64; UTF-8; en_US (nb)
For some reason parser is not able to deal with the file.
Ok there is some code from PetrP to not to parse minified files. You can avoid that by specyfing -J-Dnb.js.parse.big.files=true. In that case NPEs are doming out from the IDE. Petre?
Otherwise formatting seems to be ok as far as I can tell.
I have reported separate issue for NPE: issue 258915.
The minified and big files are not parsed by default due the performance reason and also because usually the minified files have strange names of variables and then these names are visible in code completion. Petr H. has idea that these files can be parsed only if there are opened in editor. So I'm closing this issue as invalid -> if you need parse / format / work si minified files, you have to used the mentioned option. I have entered new enhancement issue #258922
See comment #5.