Is there any software or plugin for Visual Studio 2008 to remove styles from a css file that are not used in project markup? You also need to remove pictures from the images folder that I do not use in the project. And then I have such a mess ...
- but simply to delete these styles is impossible, so let's say "hands"? - LeD4eG
- so to speak - in the old fashioned way :) <br> not the fact that there are such opportunities at all, from where VS will know about all uniquely unused pictures and css to me personally it is not clear ... - Zowie
- In the old way you need to mess around with it. And what is difficult, parse all the classes and id, which are in the markup on the pages and compare with the css file? - DmitryBLR
|
1 answer
No, unfortunately, but rather even fortunately there is no such thing, for example, I have index.php where files from the depth of the 2-3-4 directory are included ... this monster in my case should support the “project” and itself to understand my code (I myself sometimes get lost) and then .. I decide to clean the style.css that is in the css folder and link to the index ... and the pages to the index are linked via include (php) ... I conveyed my thought ?
Threat of course it is advisable to stylek.kss otbekapit) otherwise he will clean me 90% of the file, say "There is no such thing on the main page, but I don’t connect anywhere else"
|