Comments (7)
I wasn't using the tasks in tasks.json, so indeed that was the problem. Thank you for helping me run the tests. I'm on Windows and the build task fails with an error similar to the one described here: https://stackoverflow.com/questions/6347985/cannot-run-maven-using-mvn-d-argument-within-microsoft-powershell-but-works.
The issue is that powershell needs some quoting in the command string, namely '-Dmaven.test.skip=true'
instead of -Dmaven.test.skip=true
. If this change doesn't affect other OSes then it's probably a good idea in tasks.json.
from ltex-ls.
There is a bug in the computation of the length of the underlining (which also determines the word X
in the message 'X': Possible spelling mistake found.
). The checking itself is not affected (i.e., if you use a word LanguageTool knows, there won't be a diagnostic). The Use '...'
quick fixes display the correct suggestions; however, the wrong word will be replaced when applying them. The Add 'X' to dictionary
quick fix will add the wrong word (without the first letter) to the dictionary, but as the dictionary is compared against the underlined words, this will still result in the diagnostic to be resolved. The other quick fixes are working as intended.
from ltex-ls.
Ok, it's good to know that the underlying spell checking is correct, but the user interface reporting 'X': Possible spelling mistake found.
is where the error is. Thank you.
from ltex-ls.
Thanks for the report, this should be fixed.
from ltex-ls.
The new tests in 6317adc do not pass for me:
[ERROR] Failures:
[ERROR] LatexAnnotatedTextBuilderTest.testMathMode:347 30 not smaller than 30 ==> expected: <true> but was: <false>
[ERROR] LatexAnnotatedTextBuilderTest.testTextMode:207 expected: <0> but was: <5>
[ERROR] DocumentCheckerTest.testLatex:182 expected: <?ekki> but was: <ekki>
from ltex-ls.
They pass in GitHub Actions (and for me), so it's definitely working.
Best guess is that you forgot to update your local installation of ltexls-languagetool-patch (see second task in .vscode/tasks.json).
from ltex-ls.
Fix released in 12.1.0.
from ltex-ls.
Related Issues (20)
- Can we read credentials from a file?
- Allow only linting comments matching a pattern, e.g. `//!` and `///` in rust instead of `//`
- Sending workspace/configuration requests to client without capability
- Checking "!}" or "?}" with LanguageTool premium server in French.
- Version 16.0.0 doesn't work with PASSIVE_VOICE
- What is the default value of `LTEX_GLOBAL_STORAGE_PATH`? HOT 3
- language selection via \documentclass[german]{article} and similar
- ltex with html: Within source tag no html check
- Markdown inline footnotes
- `JAVA_HOME is not defined correctly`
- Add text (.txt) files support HOT 1
- Linux binary archive changes destination owner when extracted
- restructuredText ltex.hiddenFalsePositive HOT 1
- High memory usage HOT 1
- StringIndexOutOfBoundsException HOT 1
- How to set Ltex language in vim
- "diff" part of verbose commits should be ignored
- Where are the disabled rules by quick fix? How to undo them? HOT 1
- How can I disable spell checking, keeping only grammar rules
- Neovim: No diagnostic highlighting while in insert mode, only in normal mode. How do I change this?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ltex-ls.