+1
Lõpetatud

Command to help with keybinding

Kai Grossjohann 12 aastat tagasi uuendaja Jon Skinner 12 aastat tagasi 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.)

Vasta

Vasta
Lõpetatud
You can enter sublime.log_commands(True) in the console to get a similar effect
Vasta
Lõpetatud
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/