valentjn / vscode-ltex

LTeX: Grammar/spell checker :mag::heavy_check_mark: for VS Code using LanguageTool with support for LaTeX :mortar_board:, Markdown :pencil:, and others
https://valentjn.github.io/ltex
Mozilla Public License 2.0
784 stars 26 forks source link

Make use of LanguageTool Premium #812

Open paulschraven opened 1 year ago

paulschraven commented 1 year ago

Is your feature request related to a problem? Please describe. I might be absolutely blind, but is there a way to use my LanguageTool Premium license with your plugin? I'm assuming that this is possible, but I couldn't find any information about it, in my honestly quite superficial search.

Describe the solution you'd like Ability to use LT Premium.

Describe alternatives you've considered //

Additional context //

SeniorMars commented 1 year ago
  "ltex.languageToolHttpServerUri": "https://api.languagetoolplus.com",
  "ltex.languageToolOrg.username": "email",
  "ltex.languageToolOrg.apiKey": "your_key",
JesusJMUJI commented 1 year ago
"ltex.languageToolHttpServerUri": "https://api.languagetoolplus.com",
"ltex.languageToolOrg.username": "email",
"ltex.languageToolOrg.apiKey": "your_key",

Thanks! I was looking for a way to use my premium API, and it seems to work.

lechk82 commented 1 year ago
"ltex.languageToolHttpServerUri": "https://api.languagetoolplus.com",
"ltex.languageToolOrg.username": "email",
"ltex.languageToolOrg.apiKey": "your_key",

Thanks! I was looking for a way to use my premium API, and it seems to work.

Hi, I'm getting LanguageTool failed with HTTP status code 413 in the log. Any ideas how to fix that? Non-Premium works fine as soon as i delete the ServerUri.

edit: Ok, since HTTP 413 means "payload too large" i got it working with a smaller text file. Is there any way to limit the payload or to split the payload into smaller chunks?

MarcT0K commented 8 months ago

Hi, I'm getting LanguageTool failed with HTTP status code 413 in the log. Any ideas how to fix that? Non-Premium works fine as soon as i delete the ServerUri.

edit: Ok, since HTTP 413 means "payload too large" i got it working with a smaller text file. Is there any way to limit the payload or to split the payload into smaller chunks?

I am having the same issue. If anyone have a quick solution, I would love to hear about it. Otherwise, I could also try to prepare a PR but I'll need a bit of guidance.

Heziode commented 5 months ago

Same issue, I also got a 413 HTTP error

Enough7 commented 2 months ago
"ltex.languageToolHttpServerUri": "https://api.languagetoolplus.com",
"ltex.languageToolOrg.username": "email",
"ltex.languageToolOrg.apiKey": "your_key",

This does not work for me. I get less error-annotations than before somehow. I am not used to VSC-Extension and I could get far with it, unfortunately. Any suggestions?

kiranshila commented 2 months ago

I also get a 413 when editing a large latex document (such as a thesis)

lamBOOO commented 3 weeks ago

The same for me. Maybe, the text could be split into multiple chunks before calling the API? 🤔