18

I used that command but forgot how to turn it on:

In sublime console, which is invoked by ctrl+` I typed something like ...

turn_on_debug_mode

... and sublime console started to log every command I run. For example, if I press right mouse button on the view and click Copy file path then in the sublime console I found logging of this action with the name of invoked command like copy_file_path.

So that was an easy way to grab names of commands that I could use in self-written sublime plugins.

The problem is that I do not remember how to turn that debug mode on.

Maxim Yefremov
  • 13,671
  • 27
  • 117
  • 166

1 Answers1

37

In the console input:

sublime.log_commands(True)

To view keystrokes:

sublime.log_input(True)
AGS
  • 14,288
  • 5
  • 52
  • 67