Closed jakucermak closed 8 months ago
What keyboard shortcuts do you need?
shortcuts (keybindings) for calling commands from command palette like open, toggle_breakpoint, etc.
You can open the Sublime Text console (ctrl+) Than paste
sublime.log_commands(True)` command - that will log the command name, and arguments in the ST console,
If you now, for example "Toggle a breakpoint", you should see in the console
command: debugger {"action": "toggle_breakpoint", "event": {"x": 548.523925781, "y": 438.601104736}}
command: show_panel {"panel": "output.Debugger Console"}
command: debugger_async_text
You can select any Debbuger command from the command palette, and in the console, you will see the exact command name and args.
So lets focus on this line:
command: debugger {"action": "toggle_breakpoint", "event": {"x": 548.523925781, "y": 438.601104736}}
The command name is debugger
.
The args are {"action": "toggle_breakpoint", "event": {"x": 548.523925781, "y": 438.601104736}
but you can ignore the "event" in the args.
Now you can use the command name and args and assign a keybinding for them.
Here is a list of commands and the related args, I found this file but you can use the above approach to extract the command names and args that you need.
Hope this was helpful.
just found this as I was looking for the same, I felt like step in, out and over should have had shortcuts built in. the hard part if find a key combination free to use them as arrow keys make the most sense but so many things are mapped to them.
Hello, I would like to ask you if there is option to set custom keyboard shortcuts. If so, I would be happy if you guide me how to set them. thx.