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