jshint will tell you if variables are used or not. I’m not sure what you mean by “add all files in the same file”? Sounds like you want a userscript for what you’re doing though, as this sounds like it is a very specific use-case.
Yes, i wanted a function to join/concatenate files in one big file and to transform this file in js to pass to jshint, to finish with a file that can contain 1000 lines of code or more.
now, I will use “ctrl+h->find” in “Open Files” to search if my variables are used yet or not.