Skip to content
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

Live share integration #4308

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
bb33862
POC
quoc-ho Jun 30, 2024
931d1b6
updated package-lock.json
quoc-ho Jun 30, 2024
53ce764
New guest pdf loading strategy: no pdf.liveshare file generated
quoc-ho Jul 1, 2024
c50e1e3
Merge branch 'James-Yu:master' into live-share-2
quoc-ho Jul 2, 2024
9367c9d
Refinements re. obtaining host port + allowing viewing pdfs from gues…
quoc-ho Jul 2, 2024
7451b05
Added commands to share and acquire ports on hosts and guests
quoc-ho Jul 2, 2024
bedc98a
Fixed pdf reload on guest
quoc-ho Jul 2, 2024
8094edb
Minimize changes and improve port acquisition
quoc-ho Jul 3, 2024
ebc16b6
Allowed vsls as an appropriate scheme for uri
quoc-ho Jul 4, 2024
c71c7c2
Refactored
quoc-ho Jul 4, 2024
984246b
Used proxy to pave the way for synctex
quoc-ho Jul 6, 2024
cf75c51
Lint
quoc-ho Jul 6, 2024
0068feb
Implemented reverse synctex on guests
quoc-ho Jul 6, 2024
10baaf4
Implemented synctex on guest
quoc-ho Jul 7, 2024
c98bac8
Lint
quoc-ho Jul 7, 2024
23b08d4
Rename new lw.file functions
James-Yu Jul 31, 2024
d3ee1f0
Move liveshare to extra
James-Yu Jul 31, 2024
7fc5d04
Minimal intrusion
James-Yu Aug 10, 2024
e254ae3
Remove unused exports, small refactor
James-Yu Aug 10, 2024
5ae60c7
Squashed commit of the following:
James-Yu Aug 10, 2024
87c98f8
Revert "Squashed commit of the following:"
James-Yu Aug 10, 2024
bc7b419
Merge branch 'master' of https://github.com/James-Yu/LaTeX-Workshop i…
Mar 18, 2025
534fd4d
Bring back vsls to package.json
Mar 18, 2025
f4c05e8
Update new usages vscode.Uri.file to use vsls schema
Mar 18, 2025
ede0d79
Post merge fixes with updated Uri usage
Mar 18, 2025
d049986
Update devcontainer Node version to 18, matching CI
Mar 18, 2025
be137c1
Update missed params
Mar 18, 2025
230ccd2
Add liveshare to devcontainer
Mar 19, 2025
58a5dba
Workaround for Windows vsls drive letter path issue
Mar 20, 2025
c0e7057
Add some simple comments
Mar 20, 2025
1e92c88
Merge branch 'master' of https://github.com/James-Yu/LaTeX-Workshop i…
Mar 21, 2025
033d010
Remove helper methods from file.ts
Mar 21, 2025
6c8ff5e
Remove unnecessary changes
Mar 21, 2025
c7d7fc4
Bring back omitted fallback liveshare scheme check
Mar 21, 2025
c7bd9ff
Add VS Code dependencies to run tests inside decontainer
Mar 21, 2025
a796624
Update failing tests
Mar 21, 2025
6d8be31
Remove accidentally commited only method
krokosik Mar 22, 2025
3acad34
SyncTex comments
krokosik Mar 24, 2025
3e6ab17
Document the LiveShare module
krokosik Mar 24, 2025
b8f2219
Mention another limitation regarding the host initiating compilation
krokosik Mar 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"name": "Node.js 16 & TeX Live Base",
"name": "Node.js 18 & TeX Live Base",
"dockerFile": "stable/Dockerfile",
"extensions": []
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint",
"ms-vsliveshare.vsliveshare"
]
}
}
}
12 changes: 11 additions & 1 deletion .devcontainer/sid/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apt-get update \
# https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
# https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions
RUN apt -y install curl
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
RUN apt-get install -y nodejs

# Verify git and needed tools are installed
Expand All @@ -29,6 +29,16 @@ RUN curl -L http://cpanmin.us | perl - App::cpanminus \
&& cpanm File::HomeDir \
&& cpanm Unicode::GCString

# VS Code dependencies for testing
RUN apt-get update -y \
&& apt-get install -y --no-install-recommends \
libnss3-dev \
libdbus-1-dev \
libatk-bridge2.0-dev \
libdrm-dev \
libgtk-3-dev \
libasound2-dev

# Clean up
RUN apt-get autoremove -y \
&& apt-get clean -y \
Expand Down
12 changes: 11 additions & 1 deletion .devcontainer/stable/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apt-get update \
# https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
# https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions
RUN apt -y install curl
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
RUN apt-get install -y nodejs

# Verify git and needed tools are installed
Expand All @@ -35,6 +35,16 @@ RUN curl -L http://cpanmin.us | perl - App::cpanminus \
&& cpanm File::HomeDir \
&& cpanm Unicode::GCString

# VS Code dependencies for testing
RUN apt-get update -y \
&& apt-get install -y --no-install-recommends \
libnss3-dev \
libdbus-1-dev \
libatk-bridge2.0-dev \
libdrm-dev \
libgtk-3-dev \
libasound2-dev

# Clean up
RUN apt-get autoremove -y \
&& apt-get clean -y \
Expand Down
13 changes: 12 additions & 1 deletion .devcontainer/texlive/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,20 @@ FROM texlive/texlive:latest
# https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions
ENV DEBIAN_FRONTEND=noninteractive
RUN apt -y install curl
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
RUN apt-get install -y nodejs

# VS Code dependencies for testing
RUN apt-get update -y \
&& apt-get install -y --no-install-recommends \
libnss3-dev \
libdbus-1-dev \
libatk-bridge2.0-dev \
libdrm-dev \
libgtk-3-dev \
libasound2-dev


# Clean up
RUN apt autoremove -y \
&& apt clean -y \
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Press <kbd>F5</kbd> in vscode to start the development version in debug mode.

Make sure you have installed:

- [`node.js`](https://nodejs.org/) v16
- `npm` v8
- [`node.js`](https://nodejs.org/) v18
- `npm` v10
- the [`eslint`](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) extension for VS Code (recommended)

Then run
Expand Down
Loading