vscode-ltex icon indicating copy to clipboard operation
vscode-ltex copied to clipboard

Add support for YAML files

Open koppor opened this issue 2 years ago • 3 comments

Currently, the extension supports LaTeX and Markdown files.

Sometimes, one puts comments in YAML files. The extension should support spell-checking in YAML comments, too.

koppor avatar Jun 06 '22 06:06 koppor

It would be nice to use this for arbitrary files in general. For example, one use case I can think of is spell/grammar checking in git commit messages.

willfindlay avatar Aug 18 '22 15:08 willfindlay

Aha, ostensibly this looks quite simple to add support for arbitrary files. Although for your use case maybe a bit trickier since you only want to look at comments. https://github.com/valentjn/vscode-ltex/pull/646/files

willfindlay avatar Aug 18 '22 15:08 willfindlay

Spellchecking for all string values in Yaml files would be great! I think admitting pull requests like https://github.com/valentjn/vscode-ltex/pull/646/files would be great, because people can disable at will for the files they don't want to be checked. And sooner or later somebody will submit a pull request which improves on the simple solution to treat a Yaml file like plain text.

v217 avatar Mar 23 '23 17:03 v217