With my method, if there's an error I know where to look too, and it's all in one place
I currently use Steph's Editor and it automatically searches for the files specified in the pediaicons.txt, I don't even have to run a game to make sure everything is OK. It puts in red letters the name of the unit that has a problem, I go to the unit's folder and check each file. And when it's corrected, I don't have to reload or refresh anything, I just click on an other unit and then click back on the unit that had a problem, and the letters turn black meaning it's OK
Very powerful tool.
I used to do the same as you Theov, but I've found that pasting very long names, checking the spelling, looking in the units folder AND in the Civilopedia folder was time-consuming and I got lost sometimes. Now I use two letters for each Civ (RO for Roman, EG for Egyptian, etc.) and call "Spearman" all my spearmen, "Acher" all my archers, and so on. Then I have RO_Spearman, EG_Spearman, (...) RO_Archer, EG_Archer, etc. I avoid a lot of typos and can see all the Roman units at once in the Units folder, and it makes copy-pasting a lot faster. I also use a twist in Steph's Editor: I have changed the Civ adjectives to RO, EG, etc. and added a bunch of units copies with "Prefix" and automatically got the Editor creating a RO_Warrior entry, RO_Spearman entry, RO_Archer entry etc. I have lately added 800 units in a few days.