vscode-languagetool-linter
vscode-languagetool-linter copied to clipboard
Language autodetection and manual override
The language autodetection is often mislead resulting in hundreds of false positive errors. That would be a must to have a way to manually force the language for a document.
@noraj - thanks for the suggestion! Just so I'm clear, you asking for a way to specify language on a per-document basis, right? That would allow documents in multiple languages to exists in a single project or folder.
Just like we can override the code language syntax highlight, for example. That would be the same for LT language. Yes, a way to specify language on a per-document basis.
That would allow documents in multiple languages to exists in a single project or folder.
Yes maybe. But my use case is more that I have documents in different languages, let's say some in english and some in French so I don't want to use one fixed value but keep autodetection so I don't have to change the main language too often. But sometimes autodetection is mislead, just because I have a word, title or quote in another language or a last name or random string that make the autodetection think the language is something else than it really is. In those cases, I would like to manually override the language.