Code Monkey home page Code Monkey logo

Comments (7)

hdorgeval avatar hdorgeval commented on May 30, 2024 1

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.

valentjn avatar valentjn commented on May 30, 2024

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.

hdorgeval avatar hdorgeval commented on May 30, 2024

@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.

valentjn avatar valentjn commented on May 30, 2024

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.

valentjn avatar valentjn commented on May 30, 2024

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.

valentjn avatar valentjn commented on May 30, 2024

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.

valentjn avatar valentjn commented on May 30, 2024

Feature released in 13.0.0.

from ltex-ls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.