I’d like to make an editor script that modifies *.cs files. I want it to do a regex type of search and replace. This search will remove lines from the code such as “// TODO:”. I’m want this so that the code in an exported unitypackage will look cleaner.
Is there any way to do this kind of automated clean up with editor scripts? Is there a good alternative?