Sublime API
https://www.sublimetext.com/docs/api-reference
https://www.sublimetext.com/docs/2/api_reference.html
Commands
http://sublimetext.info/docs/en/core/commands.html
http://www.sublimetext.com/docs/commands
Debug best practices
Once you follow the steps below everything you do in the editor will be logged on the console.
- Open Sublime console: Ctrl+~
- Enable verbose and debug within the editor
sublime.log_commands(True) sublime.log_input(True)
- Example commands to try on the console
view.run_command("goto_line", {"line": 7}) view.window().run_command("show_minimap", {"key": True})
No comments:
Post a Comment