You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking at a file with 97 spelling errors, primarily names.
Going through by hand and copying and bringing up a menu and finding "add to dictionary" isn't a good solution. I'd rather be able to hit a key combo on each word.
Bonus: If I could select an entire file and say "add all unknown words to dictionary" that would be even better. I can scan this file quickly and see that all of the spelling "errors" are just words that are missing from the dictionary.
In you implement the "add all", be careful not to add known words, and be careful not to add duplicates; the same "misspelled" word shows up multiple times in many cases.
The text was updated successfully, but these errors were encountered:
There is a keyboard shortcut for Quick Fix. It defaults to Ctrl + .. This will pull up the menu of fix actions if the cursor is on a misspelled word. This will let you hit the key combo + up arrow + Enter.
I'll think about changing the code actions to allow direct key binding. You can add something like this to keybindings.json:
But this will generate an error since the command isn't setup to handle this use case.
You can also manually add all the words to your User Settings file by following the instructions here.
I don't think an "add all unknown words to dictionary" function provides that much utility. In typical use cases, you don't want this functionality. The functions are already set up to not add duplicates, so if you want to submit a pull request, I would consider merging it.
I'm looking at a file with 97 spelling errors, primarily names.
Going through by hand and copying and bringing up a menu and finding "add to dictionary" isn't a good solution. I'd rather be able to hit a key combo on each word.
Bonus: If I could select an entire file and say "add all unknown words to dictionary" that would be even better. I can scan this file quickly and see that all of the spelling "errors" are just words that are missing from the dictionary.
In you implement the "add all", be careful not to add known words, and be careful not to add duplicates; the same "misspelled" word shows up multiple times in many cases.
The text was updated successfully, but these errors were encountered: