+1
Ukończony

Command to help with keybinding

Kai Grossjohann 13 lat temu Ostatnio zmodyfikowane przez Jon Skinner 13 lat temu 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.)

Odpowiedź

Odpowiedź
Ukończony
You can enter sublime.log_commands(True) in the console to get a similar effect
Odpowiedź
Ukończony
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/