General idea:
Say the user does not know that basic Convert Case functionality is already built into Sublime Text. The plugin would recognized what the user was trying to do and count the number of times this was done in the past. In this case deleting characters and replacing them with the same but with a different case. If the pattern is recognized multiple times, then a hint would appear: “You’ve done this same exact thing # times before, using [Command Name (Hotkey)] you can save #.# seconds each time.”
But then I thought it might be one of the hardest example to give, as the Plugin would have no connection between letters of different cases. The only way it would give the hint is if there was a lookup database where patterns would be registered and the case of the same exact word matched. Meaning storage and privacy issues ensue. Or just having a separate ‘convert case’ pattern recognizer?
An easier example would be the usual wrapping of words with parenthesis, apostrophes or something else. Or writing something that already has a Snippet.
Do you think I going too far out and this is actually Deep Learning AI territory?