sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
814 stars 40 forks source link

Spellchecking should be aware of the user-level dictionary on MacOS #5553

Open frou opened 2 years ago

frou commented 2 years ago

Problem description

MacOS has a shared spellchecking dictionary where a custom word "learned" in one application is then recognised as a valid word in other applications.

For example, learning a word in Notes.app:

1 2

...and then it will later be recognised as a valid word in TextEdit.app, but not in Sublime Text:

3

Those custom words end up in a user-level plain text file ~/Library/Spelling/LocalDictionary, one word per line. (There's probably also an API to interact with it?)

At the moment, Sublime Text is not making use that user-level dictionary, and so we have to maintain a duplicate one in the "added_words" array in Preferences.sublime-settings if we want to not be hassled by red squiggles.

Additional Information

ST Build 4126 macOS 12.5.1

bogenschlag commented 1 year ago

Oh god, yes, please. AFAIR there once was an ST2 plugin to achieve this, but whoever made it sadly gave up on it.

DesBw commented 1 year ago

Please add this feature. BBEdit supports the feature. But, Sublime is a way faster to open large text files. It would be neat if Sublime supports it.