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 267861 - Formatting of minified file fails
Summary: Formatting of minified file fails
Status: RESOLVED WONTFIX
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-04 16:29 UTC by Jenselme
Modified: 2016-09-05 09:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jenselme 2016-09-04 16:29:19 UTC
Tested with minified jquery as suggested. Nothing happens.

Link: http://services.netbeans.org/synergy/client/app/#/case/3655/suite/1329
Comment 1 Petr Pisl 2016-09-05 09:34:46 UTC
This test is not relevant anymore. The minified files are not parsed, so can not be fully formatted. 

To be parsed such files you have to set nb.js.big.minimize.file.size property to some size for example nb.js.big.minimize.file.size=1048576 . It's says to the parser the size of minified files, which should be parsed. By default the property is set to 0.