Sublime Forum

Activate spell check via command palette

#1

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.

0 Likes

#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

#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

#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

#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

#6

I use this plugin: https://packagecontrol.io/packages/Missing%20Palette%20Commands

0 Likes