A developer would be able to enable automated detection from the "Hardcoded strings" tree item:  Let's use a state in the context menu, like "Folders" item below: 