Hi,
I just wanted to share something we do every now and again, that I am sure some of you need as well. Clean up templates.
We have 2 basic methods:
- Using our IDE to search for usages of "filename.cshtml"
Which should give you all @Include( ... ) references - and to avoid having to use regex because of the path
- Using a Data List that looks into the ModuleSettings on paragraphs
The benefit is that it becomes easy to search based on file name
https://www.screencast.com/t/ET5NjNzLeeXn OR https://www.screencast.com/t/yRSFsIcdD
When it comes to other types of files, that's much much harder, and we haven't figured out a painless nor very effective way to do it yet, because they can live in multiple tables, multiple columns, directly in files... any ideas are welcome :)
Best Regards,
Nuno Aguiar