NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

How to find unused variables?

 
Post new topic   Reply to topic    NetBeans Forums -> Web Client Users
View previous topic :: View next topic  
Author Message
rik_rs



Joined: 16 Oct 2011
Posts: 18

PostPosted: Mon Apr 11, 2016 6:18 pm    Post subject: How to find unused variables? Reply with quote

Anybody knows a way to find all unused variables in Javascript files?

I see them underscored in the editor but this way I have to scroll file by file reading line by line because there is not a clue in "Action items" nor on the right side of the editor.
Back to top
paulsimmons



Joined: 03 Jun 2016
Posts: 1
Location: Texas, USA

PostPosted: Fri Jun 03, 2016 9:45 am    Post subject: Reply with quote

Well, i don't think there is any method to find all unused functions in JavaScript. But you can try JSCoverage, that generates code which show the functions which have not been executed.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Web Client Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo