Closed AdiWeit closed 4 months ago
It seems that this is an issue of LanguageTool itself, not LTEX. When you type in the sentence Deshalb ist die Leitfrage dieser Arbeit, warum C# entwicklet wurde, wenn es doch Java schon gab.
in https://languagetool.org/de, you also don't get an error message. The right place to submit the issue is the LanguageTool repository: https://github.com/languagetool-org/languagetool
After LanguageTool implemented the fix and released a new version, LTEX has to be updated with the latest LaguageTool version in order to fix the issue.
That's interesting. It seems like it ignores it when you copy and paste the sentence from this site, including the formatting. But if you paste it without the formatting, it does correct it as it should ("ohne Formatierung einfügen" means paste without formatting):
https://github.com/neo-ltex/vscode-ltex/assets/43521682/3ee05535-bbdb-4e0a-a39c-f2effaa98210
So I'm not sure if it really is an issue of LanguageTool itself.
You are right, I face the same issue at https://languagetool.org/de You can ignore my first comment.
I just tested in VS Code with LTEX on my Windows computer and LTEX recognizes the spelling error with "ltex.language": "de-DE",
in settings.json
. If I use "ltex.language": "de",
like you, it does not show an error message. Can you verify that on your side?
It's recommended to use a specific country version to improve the spelling correction: https://valentjn.github.io/ltex/settings.html#ltexlanguage
Yes, I can confirm it (using Linux Mint). Thank you for the help :) I don't know if it's intentional. Should I close the issue? :thinking:
I just checked the settings description. Reading it clarifies that it is indeed intentional. Should have done that in the first place :)
Note: It is highly recommended to follow the instructions at https://valentjn.github.io/ltex/vscode-ltex/contributing.html#how-to-report-bugs and use the
LTeX: Report bug in LTeX
command from within Visual Studio Code. 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.Describe the bug Spelling errors in a German text (typed markdown for example) will not be recognized or at least not displayed as an error.
Steps to reproduce Steps to reproduce the behavior:
Deshalb ist die Leitfrage dieser Arbeit, warum C# entwicklet wurde, wenn es doch Java schon gab.
or something else with spelling errorsentwicklet
for example will not be marked, although it should obviously beentwickelt
)Expected behavior It would be expected to be marked as an error. Maybe there should even be a quick fix to the problem. The expected behavior is pretty much what the language tool "demo" on their website does if you put the same text in there.
Sample document If the bug occurs for a specific document (e.g. LaTeX), please paste it here. If your document is very long or confidential, please create and attach a smaller example for which the bug still occurs so that we can reproduce it.
LTeX configuration Please paste all configuration settings starting with
ltex.
from yoursettings.json
. You can help us by temporarily removing some irrelevant settings from yoursettings.json
and see if the bug still occurs."LTeX Language Server" log file First, reproduce the bug. Then, go to
View
→Output
and selectLTeX Language Server
in the drop-down list. Paste this log here:"LTeX Language Client" log file First, set the
ltex.trace.server
setting in yoursettings.json
to"verbose"
. Then, reload the VS Code window and reproduce the bug. Go toView
→Output
and selectLTeX Language Client
in the drop-down list. Paste this log here (note: it will contain your checked document):Version information List here the version information of the relevant software.