Sublime Forum

Plugin command won't show up in quick commands

#1

Hi, I made my first plugin (to auto-collapse import statements at the top of JS/TS files). It works on file open but for the life of me I can’t get the command to show up in the quick palette. Might someone tell me what I’m missings? Here’s the package if someone might be willing to take a quick look

http://air-craft-eu.s3-eu-west-1.amazonaws.com/JSImportFold.sublime-package.zip

I have a Default.sublime-commands file, contents below. Do I need to add something to the package metadata or should this be read automatically?

/*
  JSImportFold commands
*/
[
    { "caption": "Fold JS Imports", "command": "js_import_fold" }
]
0 Likes

#2

Your command name is my_big_fat. EventListener works by itself when events happen.

0 Likes