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
759 stars 27 forks source link

Replace with suggestion and more #863

Open JohnBS1 opened 8 months ago

JohnBS1 commented 8 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. Other spell checkers let you Ctrl-. to replace underlined word with suggested. Does not seem to process document on load or edit, or when prompted to process document. Only process selection works (ssh-fs/remote workspace).

Describe the solution you'd like Ctrl-. replaces the incorrect word with the ltex suggested replacement if one is available. Better instructions or push-button process for adding rules to whitelist eg $variablenames can be skipped, have the $ stripped before checking, or split for eg camelCase Add word to dictionary within Problem dialogue

Describe alternatives you've considered Code Spell Checker (does not work with remote workspaces)

Additional context