Currently it’s not possible to activate / deactivate the spell checker simply via the command palette, but only via View > Spell Check. This is really unintuitive and annoying, as most other things can be simply activated / deactivated via the comman palette.
Activate spell check via command palette
braver
#2
Check the “CHANGING SETTINGS WITH A KEY BINDING” section here: https://www.sublimetext.com/docs/3/settings.html. You can make your own command palette entries.
0 Likes
adius
#3
I can’t find anything in the link you provided that can help me!?
However, I figured I can use following package to define new commands: https://packagecontrol.io/packages/Edit%20Command%20Palette
This works like a charm:
[
{
"caption": "Toggle Spell Checker",
"command": "toggle_setting",
"args": {"setting": "spell_check"}
}
]
0 Likes
braver
#4
The document I linked to explains how commands can be created and added to the palette. You don’t need a plug-in for that, it’s just Sublime’s native extensibility.
0 Likes
adius
#5
As far as I can see the document only explains how to create keyboard shortcuts, not how to create commands for the command palette!?
0 Likes