问题描述:

I just designed a web page using HTML, PHP, JavaScript, ...

In every page I imported some files and after months of editing code, I can't say if I ended up using some of these files. I know that Dreamweaver leaves me see what are linked, but it doesn't show if I'm actually using those files.

Any idea?

网友答案:

The only thing i can suggest is to copy all your javascript code into one file and load that file in PHPStorm.

Then run 'Inspect code...' command. Than will give you all unused variables and functions and much more!!!

相关阅读:
Top