I just realized there is a feature that is needed with this tool. Ideally, this tool should validate any existing Print() calls that use text resources.
Here are a couple of scenarios:
1) Deletion of Print() statements which already reference a text resource
2) Addition of unreferenced text resource value
3) Update of an Print() statement (after running tool, it would be scenario #1)
Essentially the goal would be that a developer should never need to manipulate the text resources directly. They should be maintained strictly by the existence (or nonexistence) of Print() statements. This means that the Print()s would be maintained completely from the comments, which probably should be moved to be within the Print:
Before initial run of tool:
Print("Hello there!")
Result after tool is run:
Print(/* Hello there! */ 1 3)
Developer changes their mind, just modify the comment & re-run the tool - the text resource should be updated:
Print(/* Goodbye */ 1 3)
Upon execution of tool, any Print() statements that reference text resources would be rebuilt based on contents of comment. Any leading or trailing whitespace within the comment would be removed as well.