Renumber cases in a switch block

I have a class that (unfortunately) contains a very long switch block with 40+ cases. Does anyone know of anything that might help me to automagically renumber the cases in the block after inserting a new case somewhere in the switch?


Please sign in to leave a comment.