ApplySyntax
ApplySyntax copied to clipboard
Use standardized name for palette entry
I keep not finding them because entering prefapply
doesn't yield the expected result.
I'm not necessarily opposed to preference vs settings, but I generally try to prefix all plugin commands with the plugin name.
Also, it is mentioned "standardized". Where is this standard? Generally, I've standardized my commands as described above.
Mostly it's something that I noticed as a trend in many packages being used and also adapted into the template file for PackageDev. Though I just saw that I forgot to add "Settings" at the end (also in the template). Another argument to group it behind "Preferences" is that this is where it would go in the main menu file.
https://github.com/SublimeText/PackageDev/blob/742c8154f15d1f9fdb2bc868ca4a4b086ac304c6/plugins/new_resource_file/templates.py#L37-L50
Okay, let me think about this. It definitely breaks the convention I've been following, specifically for preferences. I may look at a bigger sample size. I'll take a serious look and consider this as a real possibility. If I end up making the change in this plugin, I imagine it I'll be making this change in all my plugins as I update them, so I want to make sure this is something I want to do.