Open pstoeckle opened 1 year ago
I stumbled on the same problem some time ago. For the Record:
The issue is that the ltex cannot find java.
You can specify the java path in devcontainer.json
like this:
"ltex.java.path": "/usr/lib/jvm/msopenjdk-current",
Note that some images do not ship Java per default. I noticed also differences in versions, e.g. x86 Debian shipped Java while the corresponding aarch64 variant does not.
For this reason, I use mcr.microsoft.com/vscode/devcontainers/java:17-bullseye
in my LaTex Containers.
Not directly related to this issue, but there is also https://github.com/prulloac/devcontainer-features/tree/main/src/latex
Haven't tried it yet, but maybe interesting for some people in case you don't want to install your LaTeX distribution manuallay via apt
.
Describe the bug
I added the extension to the
extensions
list of adevcontainer.json
. After the devaontainer is loaded, the extension is failing with the following log.Potential Problem
I'm working on an arm-based macOS. Thus, I think the problem is here. Since the plugin is running within the Linux-based devcontainer, it downloads the latest Linux-version of the plugin.
Steps to reproduce
Steps to reproduce the behavior:
Create a
.devcontainer/devcontainer.json
withDev Containers: Rebuild and Reopen in Container
Expected behavior
Normal hints as in VScode with the devcontainer.
** Potential Fix
"ltex.java.path": "/usr/local/sdkman/candidates/java/current/"
to thecustomizations.vscode.settings
in thedevcontainer.json
.Version information List here the version information of the relevant software.
Additional context/information
I really like this extension! Thanks for working on it!