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 - Ability to run JavaScript compressor and JSLint on save
Summary: Ability to run JavaScript compressor and JSLint on save
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal with 2 votes (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-17 16:36 UTC by Petr Jiricka
Modified: 2013-03-17 21:48 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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