SublimeLinter-addon-toggler
Provide some toggle commands for SublimeLinter. Esp. to enable or disable a linter per shortcut.
Details
Installs
- Total 708
- Win 357
- Mac 250
- Linux 101
Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Mac | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Hi!
This is an addon for SublimeLinter.
Enabling/disabling registered linters
First it adds a hook against Package Control. So, when you disable a package using Package Control it actually unregisters this linter immediately. No need to restart anymore. This kind of disabling is persistent and global.
Second, it adds a command to quickly enable/disable registered linters. The new command is called
sublime_linter_addon_toggle_linters
and it may optionally take an argument.
Bind it to a key, e.g.
{ "keys": ["ctrl+k", "ctrl+t"],
"command": "sublime_linter_addon_toggle_linters"
"args": {"persist": "project"} // optional
},
If you don't set “persist” then disabling a linter is global for all open windows, but also only in memory. Currently only “project” is implemented and saves the configuration in the open project file.
Toggle debug mode
Adds a command to toggle the debug mode of SublimeLinter. Search for “SublimeLinter: Toggle
debug mode” in the command palette. The internal name of that command is
sublime_linter_addon_toggle_debug
.
Switch lint mode
Adds a command to quickly switch the lint mode of SublimeLinter. Search for “SublimeLinter:
Switch lint mode”. The command is called sublime_linter_addon_choose_lint_mode
and it takes
lint_mode
as an optional argument.
Install
Open up the command palette and find Package Control: Install Package
, and just
search for SublimeLinter-addon-toggler
. (just a normal install)