I often wished there was a simple tool to automate adding, removing and renaming files, and that also correctly updates all project files along the way. So, in order to scratch that itch, I'd go ahead and implement said tool. Suggested syntax: Tools/Scripts/webkit-file add/rm/mv [options] file... At first I would limit webkit-file to adding files (and perhaps just files in Sources/WebCore), and gradually expand the tool. For example: webkit-file add -cpp -h Sources/WebCore/html/toaster/HTMLToasterElement would: .) if the files don't exist: add new files HTMLToasterElement.cpp and HTMLToasterElement.h to the Sources/WebCore/html/toaster, and add the default boiler plate content .) add this file to all relevant project files, <xyz>AllInOne.cpp, etc. .) if the 'toaster' directory is new: adds a new project group 'toaster' .) if in a git checkout: runs 'git add' for all affected files
Created attachment 134769 [details] work-in-progress, all-in-one Uploading current work-in-progress state in one big all-in-one patch, as I'll be away from the project again for a while (and in case someone wants to hack on it). This contains everything the patches for the individual child-bugs contain as well, plus some initial code for Visual Studio projects.