Hide unneeded output panels automatically on save or when a view gains focus, with regular expressions.
Package Control: Install Package- Install
Auto Close Panel
- Close panel manually using patterns in settings.
- Print name of available output panels.
- Close Sublime LSP when no warning or errors are detected
- Close Build output panel when log ends with
FinishedorCancelled
{
"target_panels": {
// LSP diagnostics Panel
"diagnostics": [
"^\\s+No diagnostics. Well done!$"
],
// Sublime Text Build output panel
"exec": [
".*\\[(Finished in \\d+.*?|Cancelled|Finished)\\]$",
".*\\[Finished in \\d+.*? with exit code \\d+.*?\\].*",
]
}
}