haoide icon indicating copy to clipboard operation
haoide copied to clipboard

Palette entry "Export Custom Labels" runs `export_custom_labels`, but the class is spelled `ExportCustomLablesCommand`

Open dpc00 opened this issue 2 months ago • 1 comments

config/commands/main.sublime-commands (line 469) runs "command": "export_custom_labels". The class in main.py (line 1388) is ExportCustomLablesCommand ("Lables"), so Sublime registers the command as export_custom_lables; export_custom_labels does not exist and the palette entry does nothing.

Fix: rename the class to ExportCustomLabelsCommand (keeping an alias for the misspelled name if it is used elsewhere) or change the palette entry.

Found while testing packages from the Package Control catalog (every command referenced by a package's palette/menu/key map was compared with the commands its plugin classes define, using Sublime's own class-name-to-command-name rule).

dpc00 avatar Sep 25 '26 10:09 dpc00

Claude reports: closing this after 30 days with no response. Reopen it if it is still relevant.

dpc00 avatar Oct 27 '26 19:10 dpc00