latex-workshop-in-code-server
所属分类:代码编辑器
开发工具:Shell
文件大小:0KB
下载次数:0
上传日期:2020-09-04 04:39:54
上 传 者:
sh-1993
说明: 代码服务器中的乳胶车间,,
(latex-workshop-in-code-server,,)
文件列表:
LICENSE (1062, 2020-09-03)
daemon.sh (1433, 2020-09-03)
env.sample.sh (235, 2020-09-03)
show-ports.py (1403, 2020-09-03)
# Run LaTeX Workshop in Code Server
## Motivation
[LaTeX Workshop][1] is awesome but due to [a recent upstream issue][2],
it no longer works with [vscode-remote][3].
[code-server][4] can run on a remote server,
but LaTeX Workshop relies on local port forwarding.
This script can automatically forward ports used by LaTeX Workshop and thus
solve the problem (hopefully for good).
[1]: https://github.com/James-Yu/LaTeX-Workshop
[2]: https://github.com/microsoft/vscode/issues/102449
[3]: https://github.com/microsoft/vscode-remote-release
[4]: https://github.com/cdr/code-server
## Assumptions
+ A client to run the brower.
+ A server to run code-server and LaTeX Workshop.
+ `ssh` connection between the client and the server.
+ The `ssh` client supports `ControlMaster`.
+. If the client runs Windows, use WSL.
+ `code-server` installed and running on the server.
+ `/usr/bin/python3` and `ss` executables available on the server.
## Usage
1. Create and edit `env.sh` based on `env.sample.sh`.
2. `sedsid ./daemon.sh` to run the daemon.
近期下载者:
相关文件:
收藏者: