quarto-dev / quarto

Quarto open-source scientific and technical publishing system
https://quarto.org
GNU Affero General Public License v3.0
339 stars 29 forks source link

Visual mode (VSCode extension) could be more flexible about the spell-checking language(s). #265

Open fuhrmanator opened 1 year ago

fuhrmanator commented 1 year ago

Originally posted at https://github.com/quarto-dev/quarto-cli/discussions/6774

Description

I often write documents in either English or French (sometimes with a mix), but it appears that visual mode only supports a single language.

image

VSCode has various extensions for checking spelling, e.g., Code Spell Checker, and they support many languages (edit: at the same time).

So, I am asking for a feature that is more flexible. Perhaps by integrating Code Spell Checker settings, perhaps by using the lang: from the YAML of the current document.

Thanks as usual for the Quarto progress! I'm happy to see visual mode in VSCode :smile:

jjallaire commented 1 year ago

One thing you could do is to have a workspace-specific setting for the spelling dictionary (this assumes that your language usage bifurcates by folder/workspace). I think keying off of the lang would indeed be a good way to make this work.