SublimeLinter-addon-toggler
Provide some toggle commands for SublimeLinter. Esp. to enable or disable a linter per shortcut.
Details
Installs
- Total 744
- Win 374
- Mac 259
- Linux 111
May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
Mac | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 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)