简体   繁体   English

Dreamweaver-有没有办法清理CSS / JavaScript文件并查找未使用的元素?

[英]Dreamweaver - Is there a way to clean up css/javascript files and find unused elements?

My question is pretty straight forward. 我的问题很简单。

I have multiple CSS and Javascript files in my project, and I'm 90% sure I have a lot of unused css elements that I haven't used. 我的项目中有多个CSS和Javascript文件,而且我90%的确定我有很多未使用的CSS元素。 I know Dreamweaver has a lot of features that I've yet to use, and I know there are other IDE's that show you functions and variables that are unused. 我知道Dreamweaver具有许多尚未使用的功能,并且我知道还有其他IDE可以向您显示未使用的函数和变量。

Example: in the Netbeans IDE, if I have a variable that I haven't used, at all, in any file, it underlines said variable, and tells me that It's unused. 示例:在Netbeans IDE中,如果我在任何文件中都没有使用过一个变量,则该变量会下划线表示该变量,并告诉我该变量未使用。

Does Dreamweaver offer anything similar, or is there another program that I can use to do this? Dreamweaver是否提供类似的功能,或者是否可以使用其他程序来执行此操作?

Dreamweaver似乎本身并不具有此功能,但是Adobe论坛上的该线程提到了firefox扩展名Dust-Me Selectors

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM