Detect unused Javascript Functions

I tried to detect unused Javascript Functions in my Project.

To check wether it works i added two new Functions to the Project (unusedTest and myNewFunction to a File language.js)

In the settings i activated Solution-wide analysis:


Sadly the function won't get marked or shown in the Inspection Result after i run "Code Issues in Solution" (searched for the Function name as well as "unused" in the inspection Result but no hit)

As much as i understand it should detect these or did i get something wrong?


The unused Variable in the second Function gets marked like predicted.
And when i hover the Function it also won't show a message unused.

here the output when i filter for unused:


Thanks in Advance for the Help.

0
1 comment

Hello Danielschumi16,

 

Sorry for the delay in responding.

Could you please provide a solution that demonstrates the problem?

Also please collect dotSettings via ReSharper | Manage Options | right-click on each layer | Export to file.

You can share this info using "Submit a request" form.

Thank you.

0

Please sign in to leave a comment.