This is kinda a poll. Please reply, and answer the 2 questions shortly, so I can get a grasp of your feedback.
In case there is any confusion, let me give an example. You just finished a PHP site for a client. You are about to push it live. The entire site lives in some public_html directory. The command you would run would be "spellcheck-dir /home/client-dev-staging/public_html" It would then sit and run interactively finding words that were spelled wrong, and asking the user if they wanted to replace with suggestions, edit manually, ignore, ignore always, etc. After I finish this, I would put it on github so that other programmers could add in parsers to handle more and more file types.
2 questions for you, #1, does something like this already exist? And #2, if not, is there a desire for this? Is this something other programmers would use?
Side Note: I had someone message me, stating that you would need to execute the code, running all possible outcomes. That isn't necessarily true. Simply a lexical parser (though a complex one) should do the trick, for 99% of all text generated via code. It actually is quite simple in concept. The only words that would get skipped over without executing code would be ones that are actually generated on the fly. But that rarely actually happens in code. Even in cases of tense, singular or plural, you still generally have the root of the word typed. This tool would at the least capture and check that word.