"Clear" the console by printing a bunch of new lines.
This plugin was inspired from this answer on StackOverflow by @MattDMo, and is simply a means of convenience around it that allows you to clear the console by just using some hotkeys.
- Open the Command Palette by pressing ⌘+Shift+P on Mac or Ctrl+Shift+P on Windows
- Type in
Package Control: Install Packageand press Enter - Type
ClearConsoleand hit Enter
By default, the hotkey to clear the console is alt+k. You can change which keys you want to use by going to Preferences > Key Bindings - User and adding this line:
[
...
{ "keys": ["alt+k"], "command": "clear_console" }
]
Simply replace alt+k with the key combination you want to use.