code cleanup - How to find all strings from a list of strings that do NOT appear in any of my source files? -
i've got bit of messy db. there lot of stored procedures suspect not used. can names in text file, 1 name per line. search through code files find ones mentioned and, more importantly, ones not.
how such thing? i'm using windows 7, visual studio 2008 - if matters.
write own small app (console app do).
read file, procedure-names inside list, , each name search code file, , log name if did not find nam einside code-files.
see system.io.filestream class easy (but not fast) way of search file.
Comments
Post a Comment