While creating commands for my plugin, I didn’t realize until just today that early on I titled the plugin command class camelCaseExampleCommand(). Then I assign a keyboard shortcut to this named “camel_case_example”.
However, apparently I got lazy and later commands were simply named something like “camelCaseExample”. I didn’t realize because this ALSO works and I can call the command with “camel_case_example”.
So… while clearly labeling a command as a command in the name is nice, do I need to worry about this overly much? It seems like Sublime Text simply encodes the underscore variation on the name and doesn’t seem to care much if the word “Command” is appended to the class. However, maybe I’m injecting some inefficiency or nuanced bad behavior in there.