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 203846

Summary: Ability to run JavaScript compressor and JSLint on save
Product: javascript Reporter: Petr Jiricka <pjiricka>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: fehrlich, mfukala
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Petr Jiricka 2011-10-17 16:36:42 UTC
Interesting request coming from this blog post:
http://www.yuiblog.com/blog/2010/10/27/jquery-and-yui-3-a-tale-of-two-javascript-libraries/

"Using Eclipse we were able to integrate JSLint and YUI Compressor into the build process. Put simply, every time you hit Ctrl / Cmd + S your JavaScript code is validated and optimised. That means you’re testing against optimised, production grade code from the very first line of code. It also means that you won’t forget to optimise in the frantic final race to the delivery deadline."

We may want to consider this feature in NetBeans.

Or, if we had a sufficiently powerful integration of external tools integration: http://wiki.netbeans.org/ExternalTools, it may be possible to configure this as an external tool.
Comment 1 diegotdai 2013-03-17 21:48:16 UTC
+1