The Internet is developing and the toolkit of web developers is developing with it. Javascript and CSS for today are the main technologies that allow you to hang on the page of various kinds of interactive functionality. As a rule, all CSS styles and JS libraries are stored in separate files, and are connected to the page using certain commands. These libraries tend to grow, and web developers have to invent ways to compress them. Already there are quite a few different developments that cope with this task.
Well, of course, we want to have this functionality in our favorite Eclipse IDE. As we all know in Eclipse it is possible to install additional extensions - plugins.
Well, I set myself to find some kind of plugin that will make life easier in terms of automating the compression of js and css files. I stumbled upon jsLex from Rockstartapps, to be honest, I simply could not find anything better.
')
jsLex is a set of tools for optimizing CSS and Javascript on your site. Here is a list of its features:
- Optimize selected file
- Optimization of selected elements in the HTML file
- Automatic processing of files connected with the import statement in CSS
- The ability to re-optimize, already optimized file, through the option in the context menu.
- Ability to automatically track the optimized files - in case of changing the original, the file will be optimized again.
- Corrects global paths in the url () operator to the corresponding relative to the file being processed.
- Export javascript and CSS to files
- Concatenation of selected Javascript or CSS
- There is an option to use YUI Compressor to optimize Javascript and CSS
- There is a compression option using GZIP for Javascript and CSS
- It is possible to create sprites
Who needs more - on the developers' site you can read more about all the features of the plugin.
Here are some more video materials that clearly demonstrate the possibilities of this development:
Links to install the plugin:
http://www.rockstarapps.com/update
http://www.rockstarapps.com/update-beta