+1
Аяқталған

Command to help with keybinding

Kai Grossjohann 13 year бұрын updated by Jon Skinner 13 year бұрын 1
I'd like to execute a command that waits for me to press a key (sequence), then tells me what that does.  (I mean it should tell me which command is executed, it doesn't need to explain what this command does.)

Answer

Answer
Аяқталған
You can enter sublime.log_commands(True) in the console to get a similar effect
Answer
Аяқталған
You can enter sublime.log_commands(True) in the console to get a similar effect
The effect is similar, but not exactly the same... for some more explanation of the usefulness of finding out what the command would be without necessarily executing it, see http://sublimetext.userecho.com/topic/78406-auto-documentation-based-on-setting-command-and-key-binding-reflectionintrospection/