valentjn / vscode-ltex

LTeX: Grammar/spell checker :mag::heavy_check_mark: for VS Code using LanguageTool with support for LaTeX :mortar_board:, Markdown :pencil:, and others
https://valentjn.github.io/ltex
Mozilla Public License 2.0
800 stars 27 forks source link

Better Completion Suggestions (sort by frequency) #860

Open TippyLion28 opened 11 months ago

TippyLion28 commented 11 months ago

Note: Per the contribution guidelines, deleting parts of the template or not filling in vital information may result in the issue to be immediately closed as invalid.

Is your feature request related to a problem? Please describe. I have enabled completion with the hope that it would accelerate my typing but the suggestions appear to be sorted alphabetically rather than by frequency which reduces the usefulness of completion.

Describe the solution you'd like I would like the words to be sorted in some kind of useful order like frequency (i.e. How often the word is used in spoken/written language)

Describe alternatives you've considered Long shot but maybe some basic markov chain could be used, as is common on smartphone keyboards

Additional context N/A and thank you for the brilliant extension

TippyLion28 commented 9 months ago

Side question: why does ltex recommend

and...

...as autocomplete candidates? 🤔