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
817 stars 29 forks source link

LTeX redownloads when opened in a devcontainer #667

Open tuetenk0pp opened 2 years ago

tuetenk0pp commented 2 years ago

Discussed in https://github.com/valentjn/vscode-ltex/discussions/662

Originally posted by **Tuetenk0pp** July 15, 2022 I noticed that LTeX redownloads about 280M of language data every time I load it inside a VS Code devcontainer. Is there an explanation for that? It would be nice if it wouldn't. Other extentions (e.g. LaTeX Workshop) only do this once so I assume there is a way around this. This is my devconainer file if anybody is curious: ```json { "name": "TexLive", "image": "texlive/texlive", "extensions": [ "James-Yu.latex-workshop", "valentjn.vscode-ltex" ] } ``` As for why I use a devcontainer at all: It makes collaboration really easy since everybody uses the same LaTeX distro and package versions, no matter what operating system they're on.
lukaspanni commented 2 years ago

For me it also redownloads when opening any repository inside a github codespace. I could imagine that the download is needed when opening a LaTeX project in a devcontainer/codespace. But at least for other projects that should not be the case.