Looks like I also contributed to make the price bump! :D (interestingly my history shows that I paid an extra for a total of $3 already! but I suppose I would have access to upgrades even for $1 as itch must grant licenses for future updates)
Wow, the new wordcounter_hidden_files look exactly like what I want. I just noticed there was no way to exclude my unused labels so I put them in some backup folder (it wasn’t enough) and renamed extension .rpy to .txt (this worked).
But excluding the backup folder would be cleaner so I can still have .rpy and benefit from syntax coloring and Renpy code actions (like commenting) even on the backup files.
EDIT: Sorry, I misread. The files will still count toward the total. “List of files which should be hidden from the detailed statistics. They will still contribute to the total word count.”
Looks like I still need a parameter to either exclude from total, or a “smart” option to only consider labels that are actually jumped to in game (but it needs a more elaborate parser that detects all the jump/call statements iteratively from the start label - this would automatically ignore unused labels.
The only remaining issue I have is Renpy Linter detecting .rpyc leftover after moving a .rpy away (as I did with backup/) and forgetting to move the .rpyc at the same time. I thought it was just a limitation of Renpy, but since you’re able to pick files one by one maybe you’re also able to add an option to ignore .rpyc?