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