Comments (7)
Hi @valentjn , thank you so much for integrating this new feature 👍 .
I will test it and I will give you some feedback as soon as it is published.
Regards
from ltex-ls.
LTEX uses the Language Server Protocol (LSP) architecture, which separates the display of diagnostics (“language client”) from the actual checking of documents (“language server”). Therefore, LTEX is split into the language client vscode-ltex and the language server ltex-ls. You should use ltex-ls instead and communicate with it via LSP messages. You can do so via standard input and output or via TCP sockets. Maybe we can add a non-server, file checker mode to ltex-ls.
from ltex-ls.
@valentjn : thanks for your answer.
It would be great if you could provide a non-server, file checker mode to ltex-ls.
from ltex-ls.
It's not straightforward, and I'm currently pretty busy, so this will take a while. Learning to use the LSP might be faster for you. The file checker will probably print the results in the LSP response format, anyway.
from ltex-ls.
This is now implemented via --input-documents
. I opted for a human-readable output, which may be processed by scripts at the same time. The exit code indicates whether no grammar/spelling errors were found (exit code 0), or at least one error (exit code 3).
from ltex-ls.
FWIW, develop
, which includes this feature, is already published as pre-release on a nightly basis. The same holds for vscode-ltex, which should be irrelevant in this case.
from ltex-ls.
Feature released in 13.0.0.
from ltex-ls.
Related Issues (20)
- How to use dictionary with ltex-cli? HOT 3
- Specify LTeX commands through inline comments
- Support additional LaTeX commands and environments in ltex-ls
- Can not add words to dictionary
- Some way to change buffer's language.
- Build for BSD HOT 1
- 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
- Linux binary archive changes destination owner when extracted
- restructuredText ltex.hiddenFalsePositive HOT 1
- High memory usage
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.