sublime_plugin.ApplicationCommand

ST2



ST3



description ST2≠3

ST2 description(<args>) # => String

Returns a description of the command with the given arguments. Used in the menu, if no caption is provided. Return None to get the default description.



ST3 description(<args>) # => str

Returns a description of the command with the given arguments. Used in the menu, if no caption is provided. Return None to get the default description.



is_checked ST3

ST3 is_checked(<args>) # => bool

Returns True if a checkbox should be shown next to the menu item. The .sublime-menu file must have the checkbox attribute set to true for this to be used.



is_enabled ST2≠3

ST2 is_enabled(<args>) # => bool

Returns true if the command is able to be run at this time. The default implementation simply always returns True.



ST3 is_enabled(<args>) # => bool

Returns True if the command is able to be run at this time. The default implementation simply always returns True.



is_visible ST2≠3

ST2 is_visible(<args>) # => bool

Returns true if the command should be shown in the menu at this time. The default implementation always returns True.



ST3 is_visible(<args>) # => bool

Returns True if the command should be shown in the menu at this time. The default implementation always returns True.



run ST2&3

ST2&3 run(<args>) # => None

Called when the command is run.




Generated from the official documentation on Sat Oct 29 20:16:42 EEST 2016 by Leonid Shevtsov.