texstudio-org / texstudio-org/texstudio

Start LanguageTool automatically (4.0.3)

Open
#1,920 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
3.6k
Forks
403
Avg merge
3h 14m
Merged PRs (30d)
12

Description

Environment
  • TeXstudio: 4.0.3
  • Qt: 6.2.0
  • OS: Windows 10
  • TeX distribution: miktex
Expected behavior

Launch LanguageTool when needed.

The following command runs perfectly fine on the command line:
java -cp "C:\Eigene Programme\LanguageTool\languagetool-server.jar" org.languagetool.server.HTTPServer -p 8081 --config "C:\Users\User.languagetool-server.cfg"

Actual behavior

Does not start LT.

where java: C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exeC:\Program Files\Java\jre1.8.0_311\bin\java.exe

JAVA: java
java version "1.8.0_311"
Java(TM) SE Runtime Environment (build 1.8.0_311-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.311-b11, mixed mode)

Echzeitprüfungen sind aktiviert.
Grammatikprüfungen sind aktiviert.

Versucht es automatisch zu starten.

Aktueller Status von LT: fehler

LT-URL: http://localhost:8081/v2/check

How to reproduce

image

It seems as the issue is the --config option. The issue occurs as long as this option is called.

It works with standard settings without loading a specific config file

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Windows 10 failure using the LanguageTool command shown in the issue, comparing behavior with and without the --config option. Trace TeXstudio's automatic LanguageTool startup path and verify that the configured server launches successfully and reports a working status.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, java, latex
Domain
desktop, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.