JS CSS Minify Compress - plugin detail

Plugin to minify JS , CSS and HTML for quicker page load times by reducing the size of js/css/html files.(Other webapp optimization such as image BASE64 encode/decode , image compression)

NetBeans Plugin - JS CSS Minify Compress
Plugin owner: ChrisLE
Website: https://github.com/Chris2011/js-css-minify-compress
Added: 2013-07-08
License: Apache License V 2.0
Category: Web Applications
Downloaded: 45,657 times
Rating:
 4.75, by 29 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.44 MB   Last Update: 2017-03-22

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

JS CSS Minify Compress Version 2.2.1 Enhancement -auto minify on save , copyright header https://github.com/Chris2011/js-css-minify-compress/issues/14

Verifications for NetBeans versions

8.1 verification PASSED See verification details
Download plugin   Download size: 0.44 MB   Last Update: 2015-05-13

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

JS CSS Minify Compress Version 2.2

Enhancement -auto minify on save , copyright header

Verifications for NetBeans versions

8.0 verification PASSED See verification details
Download plugin   Download size: 0.44 MB   Last Update: 2015-05-13

What's new in this version

JS CSS Minify Compress Version 2.2

Enhancement -auto minify on save , copyright header

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 0.44 MB   Last Update: 2015-05-13

What's new in this version

JS CSS Minify Compress Version 2.2

Enhancement -auto minify on save , copyright header

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

Plugin to minify JS , CSS and HTML for quicker page load times by reducing the size of js/css/html files.
This plugin remove all unnecessary characters from source code, without changing its functionality. These unnecessary characters usually include white space characters, new line characters, comments, and sometimes block delimiters, which are used to add readability to the code but are not required for it to execute.

  • To minify all js , css or html , right click on folder in netbeans and select Minify WEB Content option ; it will minify all css & js file.
  • To minify single js/css/html file , right click on js/css/html file in netbeans and select Minify JS/CSS/HTML option to minify file.

Also optimize by compressing image PNG/JPEG (Currently Supported format) and provides other functionality such as image Base64 Encoder/Decoder .

Features -
1- Minify JS File
2- Minify JS Source Code Snippet by selecting in editor
3- Minify CSS File
4- Minify CSS Source Code Snippet by selecting in editor
5- Minify HTML File
6- Minify HTML Source Code Snippet by selecting in editor
7- Minify XML File
8- Minify XML Snippet by selecting in editor
9- Minify JSON File
10- Minify JSON Snippet by selecting in editor
11- Log Evaluation Input/Output File Size , Space Reduced Percentage , Total Time Taken ,Individual Log appended to file
Other features-
12- Image Base64 Encoder/Decoder
13- Image PNG/JPEG Compress (Currently Supported format)

Go To Netbeans > Menu > Tools > Options > JS CSS Minify Compress
DOC

Contact contact

Email : christian.lenz@gmx.net

[ You have to be logged in to be able to comment. ]

User Comments

  

Empty header in JavaScript

Having an empty header results in minified JavaScript with the first line being the word null.
Posted by skylarmt on Jul 24, 2017
  

The added XML header (even an empty one or a comment) generates invalid SVG.

The headers should be optional.
Posted by skylarmt on Jul 24, 2017
  

Further request

Can you add an option to have the old file deleted when using create new min file. Would be useful for compiles css/map files.
Posted by Chris_uk on May 26, 2017
  

Works fine in 8.2

I am using Product Version: NetBeans IDE 8.2 (Build 201609300101) This plugin works fine. (ubuntu16.04)

There is a weird display issue in the settings pages for it, texts not showing fully and only some of the information popups show.

Would like to see some more added to the module. Using less there is a map file created, so you get file.css file.css.map.

These map files can be minified too. Please add that to the next update.
Posted by Chris_uk on May 26, 2017
  

"in" bug

Hi,
Thanks for this plugin. I've found a bug when using "in" as a property name, for example:

VP.templates.classes.in = 'in';

Regards,
Alex
Posted by addax00 on May 12, 2017
  

Exception thrown with variable named $class

I have been using this brilliant plugin for a while but this week it started crashing.
Today I got around to investigating and have found the cause.
In my js I was passing a var named $class via an ajax call and this was causing the error.
Once I renamed the var the minify worked again!
Posted by cesil on Dec 15, 2016
  

Subversion and confilcts in min files

Hey there,
I started using this cool plugin a few days ago.
I use subversion and whenever I save a file within netbeans, the min version of the file is created locally with no problems.

When I commit my code, both files (original and minified) are sent to the repository. The problem occurs when my colleagues update their source code by the subversion repository.

In the case they worked on the same original file, they get a conflict on the minified file.
As a matter of facts this happens becase the minified file is made up of a single row and subversion highlights the fact that two users edited the same line (the only one indeed).

The conflict is therefore only in the minified file, not in the original file.

How would you solve this issue?

i think that triggering a minify as soon as the file is download from the subversion repository will fix the problem burt for some reason when netbeans downloads a file from repository doesn't run call "on save" methods.

Any suggestion is welcome.
Thank you for your kind help
Posted by gasparrisoft on Nov 18, 2016
  

Tab settings change background color

it is possible to change the background color for the layout darcula LAF?
Posted by trambulhao on Oct 12, 2016
  

felice anno nuovo 2017

Grazie per l'informazione
FElice Anno Nuovo 2017
Buon AnnO 2017-felice anno nuovo
Felice AnnO Nuovo
CaPodAnnO 2017
AuGUri di Buon Anno 2017
FrAsi di BUon Anno - Frasi di Buon Anno 2017


Posted by jhones on Aug 27, 2016
  

Add current date

Is it possible to add the current date and time as a comment in the generated file?

You can add a header, but it's a static text, Is there any way to add the current date and time?
Posted by luisarraezd on May 06, 2016
  

Comment issue

If no comment entered, null string is being added at the beginning of processed source file

Also while installed in developer build, some unhandled exceptions are thrown while saving config. No errors occurred in v8.0.2 (Build 201411181905)

BTW would be fine to have possibility to setup the plugin for each project separately.

Another idea is to make possible to combine multiple files to be minified into single one.

with regards
Posted by maxym on Feb 25, 2016
  

CSS javascript minifier

i find a free online service to minify js http://www.online-code.net/minify-js.html and compress css http://www.online-code.net/minify-css.html, so it will reduce the size of web page.
Posted by tonytong198 on Dec 07, 2015
  

Issue : [CSS] calc function

Hi,

There is a issue minifying the calc function.

"The + and - operators must always be surrounded by whitespace. The operand of calc(50% -8px) for instance will be parsed as a percentage followed by a negative length, an invalid expression, while the operand of calc(50% - 8px) is a percentage followed by a minus sign and a length. Even further, calc(8px + -50%) is treated as a length followed by a plus sign and a negative percentage.
The * and / operators do not require whitespace, but adding it for consistency is allowed, and recommended."
(Source: https://developer.mozilla.org/en/docs/Web/CSS/calc)

My exemple:
// not minified
top: calc( 50% - (30px / 2) ); => OK
// minified
top:calc(50% -(30px / 2)); => NOK

Is it possible to correct this issue ?
Thanks!
Great plugin by the way!

NetBeans - version : 8.0.2 build 201411181905
JS CSS Minify Compress - Version: 2.2.1
Posted by Edge on Nov 04, 2015
  

Issue: The minified file (JS/CSS) has 1st blank line and then minified code on 2nd line

I can confirm the issue posted by motsmanish.
It's doing the same for me. No matter how the original file starts (single/multiple blank lines, comment or no blank line at all) it's adding blank line on top of compressed file.
Because of that page speed ratings are lower due to potential 1% size saving...
It will be great to have it sorted to save manual work.
Cheers!
Posted by combic on Sep 28, 2015
  

Issue: The minified file (JS/CSS) has 1st blank line and then minified code on 2nd line

What steps will reproduce the problem?
>> The minified file (JS/CSS) has 1st blank line and then minified code on 2nd line

Version: 2.2.1 Source: 1431507901_org-netbeans-minify.nbm
Posted by motsmanish on Aug 07, 2015
  

Exception error if an object has a method or a property called

To reproduce the error, you can try to minify the follow code:

var a = {
"default": "test"
};
console.log(a.default);

If you comment out "a.default", it minifies correctly.

Unexpected exception:
org.mozilla.javascript.EvaluatorException: Compilation produced 1 syntax errors.
at org.netbeans.util.source.minify.MinifyUtil$CompressorErrorReporter.runtimeError(MinifyUtil.java:464)
at org.mozilla.javascript.Parser.parse(Parser.java:392)
at org.mozilla.javascript.Parser.parse(Parser.java:337)
at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:312)
at com.yahoo.platform.yui.compressor.JavaScriptCompressor.(JavaScriptCompressor.java:533)
at org.netbeans.util.source.minify.MinifyUtil.compress(MinifyUtil.java:350)
at org.netbeans.util.source.minify.JSMinify.jsMinify(JSMinify.java:99)
at org.netbeans.util.source.minify.JSMinify.access$000(JSMinify.java:47)
at org.netbeans.util.source.minify.JSMinify$1.run(JSMinify.java:65)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Posted by jakopo87 on Jun 19, 2015
  

Platform charset

version 2.2.
Nice plugin, but save all minified files using UTF8 regardless of the project encoding charset.

If for some reason, your project files are not encoded in utf8, this can make the plugin unusable (some characters will be unreadable).
Posted by luc on Jun 16, 2015
  

Re:Problem with latest version

Same problem (NB7.4.Win7).
Some solutions are already described.
I tried something easier that works :

:-( Do not install the plugin with the menu 'Netbeans>Tools>Plugins>Available Plugins'

;-) Download the plugin from the netbeans website (http://plugins.netbeans.org/plugin/49666/js-css-minify-compress)and install it with the menu 'Netbeans>Tools>Plugins>Downloaded>Add Plugins'
Posted by luc on Jun 16, 2015
  

Problem with latest version

Hi,
the configuration panel doesn't work (in Tools / Options).
I can see the "JS CSS Minify Compress" button icon but it has no label, and clicking on it does nothing.
Tested on NB7.4 and 8.0.2, clean profile, JDK8u45x64, Windows 8.1 x64.
No error/warning in NB logs.

Regards,
Posted by ent38 on May 09, 2015
  

Preserve Comments

@qm-b to preserve comments, simply add a ! after the opening /* and that comment block will remain in the compressed output.
For example : /*! copyright comment */

More features i.e copyright templates etc will be added in future release .

Thanks.
Posted by gaurav_gupta on May 08, 2015
  

Great Plugin

Really like your plugin. Just one suggestion for further options: it would be nice to have a way to keep copyright notices at the top of a document (similar to yui or google closure)
Posted by qm-b on Apr 20, 2015
  

Compress multiple files into one would be nice

I know this has been suggested, just adding my +1 here but the ability to automatically concatenate several js or css files into one would be excellent.
Posted by roemhildtg on Feb 23, 2015
  

Can your extension automatically minify?

I have a Netbeans plugin that lets me add sass to a file in a specified protected directory, then automatically converts it to css and saves that in a separate file in a public directory.

I'm looking for a plugin that will do the same for minifying my js and css, as this means I can just work on the source files and never have to touch the output.

Can your extension do that?
Posted by story83 on Feb 13, 2015
  

Very nice plugin

but some points would be nice too:

- minify multiple selected files, can only minify 1 file or a folder
- combine files to one file for JS, CSS
- When I combine a folder, the outcoming folder has the original files too and this sucks.

keep on working :).


Cheers

Chris
Posted by ChrisLE on Jan 16, 2015
  

Re: Error here

@blacksmoke26

I ran in the same issue as yours.
The problem is related to @gaurav_gupta comment below (Re : Problem with Plugin - not working).
You need to uninstall a plugin named Bootstrap.
Posted by eviweb on Dec 12, 2014
  

Error here

Something wrong with this Plugin;

http://imageshack.com/a/img901/8917/l8UmA4.png

am seeing empty tab on Netbeans 8.0.1, why?
Posted by blacksmoke26 on Nov 28, 2014
  

Other options for minifying CSS or JS

This plugin is great, don't get me wrong. But after searching for a while I found that many of the available online compressors can sometimes do a better job minifying these type of files.

For instance, I found that this CSS compressor: http://www.giftofspeed.com/css-compressor/ does the job better for CSS files and this one: http://javascriptcompressor.com/ does it better for Javascript files.

Anyway, it's not a huge difference but it was just a heads up. Maybe it helps some people.
Posted by MPnow on Nov 28, 2014
  

Pre extension

I did use the opposite approach to the "pre extension" feature while doing it manually via yui on command line.

My files are named file-name-src.js and the minified version does not have the "-src".

Is this possible?

Thanks! So far, i'm really liking this plugin. :)
Posted by ribeirobreno on Nov 20, 2014
  

Re : Problem with Plugin - not working

JS CSS Minify Compress Code Name Base changed from [org.netbeans] to [org.netbeans.minify].
Because its previous version(1.8) appears as "Bootstrap" in installed plugin list .
Solution : So please uninstall previous version(1.8) plugin first that appears as "Bootstrap" in installed plugin list . .
Sorry for inconvenience .
Posted by gaurav_gupta on Jun 25, 2014
  

Problem with Plugin - not working

http://statistics.netbeans.org/analytics/exception.do?id=728950
Posted by apsolut on Jun 24, 2014
  

Errore with some js while minify

File: http://honlapgyartok.hu/sandbox/FrameworkShared/js/Webbi/Admin/Menu.js

org.mozilla.javascript.EvaluatorException: Compilation produced 1 syntax errors.
at org.netbeans.util.source.minify.MinifyUtil$CompressorErrorReporter.runtimeError(MinifyUtil.java:366)
at org.mozilla.javascript.Parser.parse(Parser.java:392)
at org.mozilla.javascript.Parser.parse(Parser.java:337)
at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:312)
at com.yahoo.platform.yui.compressor.JavaScriptCompressor.(JavaScriptCompressor.java:533)
at org.netbeans.util.source.minify.MinifyUtil.compressJavaScript(MinifyUtil.java:161)
at org.netbeans.util.source.minify.JSMinify.jsMinify(JSMinify.java:91)
at org.netbeans.util.source.minify.JSMinify$1.run(JSMinify.java:61)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

-----------------------
http://honlapgyartok.hu/sandbox/FrameworkShared/js/Webbi/Plugin/FormBuilder.js
Same error, but 14 syntax errors.
Posted by Blackfire0 on Jun 05, 2014
  

Issue with double-click open

I have just downloaded plugin and issue is still there.

Version i downloaded is 1390735013_js-css-minify-compress-v1_8_1_NB_8_0_Beta.nbm

Problem with double click opening applies to files of unknown type (ex. .gitignore, run.sh). In context menu of this files first position is "base64 decode". Other files (html, js, php) works as expected.

I can also confirm bug with plugin name in plugins list. When it is active it appears as "Bootstrap". After deactivating and IDE restart it changes name to "js css minify compress".


Issues confirmed on linux (RHEL6.5) and windows7 both with netbeans8.0
Posted by marq_c on May 19, 2014
  

Re: Uninstall a plugin manually

I installed this plugin on a prior version of netbeans. I recently upgraded to netbeans v8.0 and the plugin stopped working. I am unable to uninstall it because it doesn't appear on my tools->plugins->installed list. How can I manually uninstall the plugin so that I can re-install it? Should I install over the current version?

Thanks.
Posted by rhp195 on May 16, 2014
  

Feature

Great plugin, 5 stars!
It would be great if we could select multiple files, compress and merge them into one file.

Posted by vmrkela on Feb 28, 2014
  

Thank You

Great plugin. Normally use YUI compressor and CSSTidy to do this. Saves a ton of time to be able just right click, minify when needed.
Posted by fyrye on Feb 07, 2014
  

Re : two issue

@sigrud for which js css minify compress version you getting double'click problem . Have you tried new latest version 1.8 of js css minify compress ? Are you facing issue still in version 1.8 ?
Posted by gaurav_gupta on Jan 28, 2014
  

Re : two issue

I also am having this issue but only with html files double click not opening all others seem to open. Also, on HTML 5 project creating it does not open the .html file either as when creating a C .c, Java .java or PHP .php project does.
Netbeans 7.4 Patch 2
Posted by sigrud on Jan 27, 2014
  

Yes

Thanks, it works
Posted by Eliarh on Jan 26, 2014
  

Re : With any change checkbox error occurs. NetBeans 8.0 plugin

New patch uploaded for Netbeans 8.0 Beta , @Eliarh please download and install plugin again and reply , is this problem still occurred .
Posted by gaurav_gupta on Jan 26, 2014
  

environment info

Product Version: NetBeans IDE 8.0 Beta (Build 201401141042)
Java: 1.7.0_51; Java HotSpot(TM) 64-Bit Server VM 24.51-b03
Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13
System: Windows 7 version 6.1 running on amd64; Cp1251; ru_RU (nb)
Posted by Eliarh on Jan 26, 2014
  

Re : With any change checkbox error occurs. NetBeans 8.0, plugin for 8.0

JS CSS Minify Compress v1.8 Build Platform info (No Exception Occurred)
Product Version: NetBeans IDE 8.0 Beta (Build 201401141042)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
@Eliarh please specify your tested environment info .
Posted by gaurav_gupta on Jan 26, 2014
  

With any change checkbox error occurs. NetBeans 8.0, plugin for 8.0

java.lang.NullPointerException
at org.netbeans.minify.ui.MinifyPropertyController.writeMinifyProperty(MinifyPropertyController.java:58)
at org.netbeans.minify.ui.JSCSSMinifyCompressCustomPanel$21.itemStateChanged(JSCSSMinifyCompressCustomPanel.java:684)
at javax.swing.AbstractButton.fireItemStateChanged(AbstractButton.java:2046)
at javax.swing.AbstractButton$Handler.itemStateChanged(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireItemStateChanged(DefaultButtonModel.java:455)
at javax.swing.JToggleButton$ToggleButtonModel.setSelected(JToggleButton.java:272)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:289)
at javax.swing.plaf.basic.BasicButtonListener.focusLost(BasicButtonListener.java:198)
at java.awt.Component.processFocusEvent(Component.java:6397)
at java.awt.Component.processEvent(Component.java:6261)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:947)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:621)
at java.awt.Component.dispatchEventImpl(Component.java:4731)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
at java.awt.SentEvent.dispatch(SentEvent.java:70)
at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(DefaultKeyboardFocusManager.java:216)
at java.awt.DefaultKeyboardFocusManager.sendMessage(DefaultKeyboardFocusManager.java:243)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:687)
at java.awt.Component.dispatchEventImpl(Component.java:4731)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
at java.awt.SequencedEvent.dispatch(SequencedEvent.java:128)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Posted by Eliarh on Jan 26, 2014
  

JS CSS Minify Compress Version 1.8 Released

JS CSS Minify Compress Version 1.8 released with feature - HotKeys Added (Alt + M) , recommended by @Eliarh
and also Bug Fixed (open files by double clicking) , issue reported by @ismatjon .
Posted by gaurav_gupta on Jan 25, 2014
  

HotKeys? Macros?

Thanks for the plug. It is very useful.
But I would like to automate its operation.
Is it possible to assign hotkeys or record a macro to it, to assign hotkeys?
Posted by Eliarh on Jan 25, 2014
  

Process very slow

Is anyone else having this problem? When I click on "Minify CSS" it takes up to 15-20 seconds to generate minified file.
On other PC it takes only 2-3 sec.
(Netbeans 7.4)
Posted by gringo12 on Jan 21, 2014
  

Re: Is there a way to automate the process?

JS CSS Minify Compress feature release will have feature to automate minify on deploy .
Posted by gaurav_gupta on Jan 08, 2014
  

Is there a way to automate the process?

What I mean by that is... to minify the files on save? Does anyone else have any idea on how to do that? That would be a great time saver.
Posted by gbutiri on Jan 08, 2014
  

Re : two issue

Thanks @ismatjon for your contribution .
Not able to detect issue number 2 (open files by double clicking) .Tested System Environment : Windows7 , Netbeans (7.3.1 and 7.4 RC1).
@ismatjon Please specify your System Environment.
Posted by gaurav_gupta on Jan 02, 2014
  

two issues

1. After installing the plugin, it will appear in the "Tools->Plugins" as Bootstrap, so in order to remove the plugin we need to remove that Bootstrap.
2. After installing I was not able to open files by double clicking in the "Window->Projects".

I like it very much. I would love it to be better by fixing issues. Thanks
Posted by ismatjon on Dec 27, 2013
  

Re : Console log statements?

@vinayg18 JS CSS Minify Compress Version 1.7 have an option (Project Build > Add Log to File ( JS/CSS/HTML)) to strip all "alert" messages in the JS/CSS/HTML file.
Posted by gaurav_gupta on Nov 27, 2013
  

Re: Sources?

@markiewb , you can find the source here https://code.google.com/p/js-css-minify-compress/
Posted by gaurav_gupta on Nov 25, 2013
  

Sources?

Where can I find the sources?
Posted by markiewb on Nov 24, 2013
  

JS CSS Minify Compress Version 1.7 Released

JS CSS Minify Compress Version 1.7 released with features - HTML Minifier, Log Appended to File .

JS CSS Minify Compress Version 1.7 Documentation will be released soon .
Posted by gaurav_gupta on Nov 20, 2013
  

Console log statements?

It would be nice to have an option to strip all "console" and "alert" messages in the JS file. It should be simple enough to implement using a regex.

Thanks!
Posted by vinayg18 on Nov 15, 2013
  

Re: Uninstall a plugin manually

Hi,

I don't have "window->plugins" menu command, only "Tools->Plugins".
I don't have checkbox "show details" in "Plugins" window.
...and as I've claimed: the plugin doesn't show up in the installed plugins list.

So, where to put the bug report? ;(
Posted by Deldadam on Nov 03, 2013
  

Thanks!

Really appreciate it!
Posted by krheinwald on Oct 30, 2013
  

PreExtension custom separator Fix - Version 1.6

Thank @krheinwald for your patience,
JS CSS Minify Compress Version 1.6 released with PreExtension custom separator Fix .
Posted by gaurav_gupta on Oct 29, 2013
  

Uninstall a plugin manually :

To remove plugin , go to the plugins (window->plugins).
Open the "Installed" tab and mark the Checkbox show details.
Find(Search) the plugin you want to remove and select it.
Click uninstall.
Posted by gaurav_gupta on Oct 29, 2013
  

How to uninstall it?

It is really very nice plugin. 5 stars! I came only across one issue: can't uninstall it! I'm _not_ willing to do that, but simply can't find the way how to remove the plugin.
After installing your plugin, it doesn't appears in 'Plugins' window's 'Installed' panel.

...so how can I uninstall it? (for the case I change my mind and want to do it...)
Posted by Deldadam on Oct 24, 2013
  

Any Exstimate for next Version?

Really missing the fix for: 'Pre Extension should not be prepended with '-''
Posted by krheinwald on Oct 22, 2013
  

Brilliant!

Does exactly what it says on the tin.

Works for netbeans 7.4 too.
Posted by paaaaaaaaaa on Oct 21, 2013
  

Re: Can't install - Windows XP / SP3 / Netbeans 7.3 beta 2

@gaurav_gupta thanks for your efforts.

Unfortunately I'm still seeing this (only the one notice though - so nearly there):

Some plugins require plugin Options Dialog and SPI to be installed.
The plugin Options Dialog and SPI is requested in version >= 1.31.2 but only 1.30.1 was found. The following plugin is affected:       JS CSS Minify Compress

Version: 1376223831_js-css-minify-compress-v1_5_NB_7_3.nbm
Posted by kamm on Aug 28, 2013
  

Custom Pre Extension Seperator

Thanks @krheinwald for posting and providing feedback, i will remove '-' fixed separator and then user can use their own custom separator by appending in PreExtension field . I will fixed it in next version 1.6 .
Posted by gaurav_gupta on Aug 18, 2013
  

Pre Extension should not be prepended with '-'

This prevents you from follwing the accepted naming convention of using '.min' as the pre extension for minified files.
Posted by krheinwald on Aug 18, 2013
  

Plugin Dependency Fixed

Thanks @kamm for posting about Plugin Dependency installation problem ,I have fixed it in current version of JS CSS Minify Compress v1.4 .
@kamm please download & install plugin again and reply if it not installed successfully again?
Posted by gaurav_gupta on Aug 06, 2013
  

Linux File Path Bug Fixed

Thanks @dany171 for exploring and posting about linux file path bug ,I have fixed linux file path bug in current version of JS CSS Minify v1.3 .
Posted by gaurav_gupta on Jul 26, 2013
  

Good plugin very usefull

It's a very simple to use and usefull plugin. It works, maybe it need a bug fix in the file path if you run Netbeans in Linux.

For example if you want to minimize /js/common.js the minimized file name became \js\common.min.js but the "\" is not a file separator in Unix/Linux but a normal char.

4 Stars!!! Good Work!!!
Posted by dany171 on Jul 26, 2013
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo