JavaScript Compressor

EditRocket provides a JavaScript compressor that removes comments and unnecessary whitespace from JavaScript code. This minimizes the size of the JavaScript code and can result in faster web page downloads when the scripts are used in a web environment.

The JS compressor can be launched via the Tools - JavaScript - Compressor menu option, via the JavaScript sidekick compressor button, or via the right-click menu in the JavaScript submenu that displays when right-clicking inside a JavaScript tab.

If no code is highlighted in the editor, the js compressor will compress the entire editor contents. If code is highlighted, only the highlighted code will be compressed.