-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Can't load LaTeX Workshop extension #1828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Temporary fix: extract |
@nao20010128nao, sorry I don't understand. Where is |
@maresb Because VSIX file is actually ZIP file, you can extract it using ZIP utilities like |
cc @cmoog |
I had the same problem when trying to build LaTeX-Workshop myself for the first time (in local VS Code):
While it installed successfully, it did not load. What I was missing, after the Hope this helps anyone. |
The extension now installs and provides syntax highlighting but none of the other functionality works. Tested with code-server v3.8.0 in both Firefox and a Chromium-based browser. |
I installed via vsix in coder-server 3.9.0 And highlighting doesn't work anyone a clue how to fix it or why it might not hightlight anything? edit: sorry got it working Latex workshop doesn't support visual studio Dark or light color theme. Dark + works fine :) |
For those facing the same issuerun
on your remote host for a quick fix (see gist) edit: this fix builds upon @nao20010128nao solution:
edit2: you might need to change some stuff in the script if you're not on Debian or having a non-standart install edit3: you need to reload your vscode instance e.g. just reopen the same folder |
@HannesGitH your scripts loads |
@bersbersbers it wasn't, thanks for pointing it out 👍 (it was late and i accidentaly put the version of code-server there :D , it worked though ) fixed it , the fetched versions are now the currently installed ones |
ok sadly it seems like my workaround script wont work with 8.18. onward.. (at least in my setup afaik) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days. |
I can confirm this issue still exists on code-server 3.12. |
Just to report: LaTeX Workshop v8.23.0 works fine under code-server 4.0.1. Both code-server and texlive are installed over homebrew on MacOS 12.1. Note that the pdf previewer is running on a separate port than code-server, so in order to make it work remotely (e.g., from docker or ssh), one has to forward this port as well. See James-Yu/LaTeX-Workshop#2206. However, it is possible to use another previewer: just search for "pdf" in extensions. "Papyrus PDF Preview" and "Office Viewer" are working for me fine, except that some icons are not displayed. In this case, of course, forward and inverse search will not work. I wish the built-in previewer had worked in the same way. |
Hooray! Thank you for reporting @ykazakov 🎉 |
Hello, it works on me too (code-server: v4.20.1, Code: 1.85.2) without any hack but the PDF view doesn't refresh, I need to close the PDF tab and reopen it (refresh all viewers also doesn't work) |
I am trying to run the LaTeX Workshop extension (james-yu.latex-workshop). I have tried with extension versions 8.7.2, 8.10.0 and 8.11.0, all with the same results. I get the error
command 'latex-workshop.view' not found
when I click the "View LaTeX PDF File" icon, and nothing else happens.Digging deeper, enabling source map support, the Output termninal "Log (Remote Extension Host)" shows the following error message.
The
out/
subdirectory does not exist.My interpretation is that
out/
is supposed to contain build targets which are somehow not being built. Indeed, the extension's GitHub contains/src/main.ts
but no/out/
. I don't know any TypeScript, so does this make sense? Any idea how to fix it?code-server --version
: 3.4.1 48f7c27Note: I am able to manually install the
.vsix
.The text was updated successfully, but these errors were encountered: