You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently got code-server running on my server, but I was unable to get live share. I know that you have to manually install it with the .vsix, which I did. However, the status bar item won't show up and I can't access any of it's commands from the command palette either. It does show that it's installed and enabled as well.
Sorry if I'm not setting it up right and it's on my side, but I tried what I knew to add this extension.
@steven4547466https://github.com/devonlineco/ansible-roles --> I have support for liveshare here, you need to install vscode and install the ext from microsoft and symlink. It's a closed source extension. Also doesn't work unless you open vscode first then it works in code server
I have a virtual private server running on Ubuntu, I tried to install vscode, but it doesn't have a desktop I can view so I don't actually know how to download vscode on it or if I even can. I did try to download it, but it disconnected me when I tried to install it via the terminal.
@steven4547466 I added an ansible role in the post above, you need to install x11 and a vnc server if you want to actually launch vscode, works pretty well. But yeah you need x11 and vnc to get started as it needs to launch in vscode for the first time then it works in code-server
I gave this a go on v2 and it works up until I try to connect and then it just spins forever. Interestingly enough the same thing happens to me on local VS Code so I might just have something misconfigured but I haven't looked further into it yet.
I managed to get the code-server running in a docker container and hack my way around the errors that arise when installing MS Live Share via vsix. I think that part of my solution belongs in the main repo but I didn't manage to get a full build working with an adapted Dockerfile in my fork (I guess due to build environment differences between docker-compose and travis-ci...)
So MS Live share is easy to find in vsix format online...
When I installed in a working docker container I got an error about Couldn't find a valid ICU package which was solved by extending the Dockerfile like this:
FROM codercom/code-server:v2
USER root
RUN apt update && apt install icu-devtools -y
USER 1000
So then the cute little Live Share Button will show in the bottom bar, but clicking it will not succeed to login and give this error:
Starting collaboration session: [ms-vsliveshare.vsliveshare]: Proposed API is only available when running out of dev or with the following command line switch: --enable-proposed-api ms-vsliveshare.vsliveshare
Does anyone know how and where to implement that command line switch or run option?
I also added an isolated issue #1263 for that specific question.
I tried to add parameters to the entrypoint like this:
Due to licensing restrictions, we will not support Live Share.
Reacted by Monawwar Abdullah, MP3Martin and BShep519
Reacted by Ryan De Lap, fiioonnn, Pavlo Smal, Nikolai Shields, AmazingCodeHome, yyuueexxiinngg, Chronoxx, Alexandre Brown, Nathan, Monawwar Abdullah and 1 more
@caioquirino I don't think they'd be interested in doing that since Coder/code-server is a competitor to Codespaces. You may try and ask them to change it though for the betterment of the community
Using Windows Chrome downloads the file as 6961167 bytes which installs properly.
But for some strange reason windows and linux cURL downloads it as 6,684,230 bytes which has a corruption error when installing, would be great if anyone has this figured out.
Note: I actually even copied the headers from Chrome, by right clicking on curl (bash) in the developer tools.
Using Windows Chrome downloads the file as 6961167 bytes which installs properly. But for some strange reason windows and linux cURL downloads it as 6,684,230 bytes which has a corruption error when installing, would be great if anyone has this figured out.
Note: I actually even copied the headers from Chrome, by right clicking on curl (bash) in the developer tools.
I just clicked on your connection and was able to download to 5857.vsix, which works very well on code-server deployed on my linux server.Doesn't look like this version adds too many checks on vscode?
Thank you bilogic and apoorvkh for reminding us
Just want to share the latest version of live share (v1.0.5941) has stopped working for me. I had to manually ralling back to 5857 and disable auto update.
among all the versions I could install and test, 5936 was the last version that still works with code-server. The manual installing trick no longer works starting from 5940.
Activity
andreimc commentedon Apr 1, 2019
@steven4547466 https://github.com/devonlineco/ansible-roles --> I have support for liveshare here, you need to install vscode and install the ext from microsoft and symlink. It's a closed source extension. Also doesn't work unless you open vscode first then it works in code server
steven4547466 commentedon Apr 1, 2019
I have a virtual private server running on Ubuntu, I tried to install vscode, but it doesn't have a desktop I can view so I don't actually know how to download vscode on it or if I even can. I did try to download it, but it disconnected me when I tried to install it via the terminal.
andreimc commentedon Apr 1, 2019
@steven4547466 I added an ansible role in the post above, you need to install x11 and a vnc server if you want to actually launch vscode, works pretty well. But yeah you need x11 and vnc to get started as it needs to launch in vscode for the first time then it works in code-server
code-asher commentedon Oct 29, 2019
I gave this a go on v2 and it works up until I try to connect and then it just spins forever. Interestingly enough the same thing happens to me on local VS Code so I might just have something misconfigured but I haven't looked further into it yet.
michaeldv-pg commentedon Nov 26, 2019
@code-asher Are there any ETA on Live Share?
gotjoshua commentedon Jan 8, 2020
I managed to get the code-server running in a docker container and hack my way around the errors that arise when installing MS Live Share via vsix. I think that part of my solution belongs in the main repo but I didn't manage to get a full build working with an adapted Dockerfile in my fork (I guess due to build environment differences between docker-compose and travis-ci...)
So MS Live share is easy to find in vsix format online...
When I installed in a working docker container I got an error about
Couldn't find a valid ICU packagewhich was solved by extending the Dockerfile like this:Then the next error is related to "Proposed APIs" , which can be solved bu installing:
Live Share Extension Pack 0.3.4
So then the cute little Live Share Button will show in the bottom bar, but clicking it will not succeed to login and give this error:
Does anyone know how and where to implement that command line switch or run option?
I also added an isolated issue #1263 for that specific question.
I tried to add parameters to the entrypoint like this:
but that didn't seem to work : -(
any help? it seems like i'm so close....
Note: This is also related to #173...
sr229 commentedon Jan 9, 2020
Due to licensing restrictions, we will not support Live Share.
Aplet123 commentedon Oct 21, 2021
With the release of vscode.dev, live share gained support for running on a website. Maybe it's worth taking another look at this?
jsjoeio commentedon Oct 27, 2021
I don't think we can because of licensing restrictions? 😢
caioquirino commentedon Nov 3, 2021
Is there any way to reassess with Microsoft a way to change the licensing model for the LiveShare extension?
jsjoeio commentedon Nov 3, 2021
@caioquirino I don't think they'd be interested in doing that since Coder/code-server is a competitor to Codespaces. You may try and ask them to change it though for the betterment of the community
apoorvkh commentedon Apr 18, 2023
Just want to say that I am currently able to download and install the .vsix, and Live Share (1.0.5857) works for me on code-server (4.11.0).
bilogic commentedon Oct 8, 2024
how did you download VSIX of 1.0.5857?
bilogic commentedon Oct 8, 2024
This is the link https://marketplace.visualstudio.com/_apis/public/gallery/publishers/MS-vsliveshare/vsextensions/vsliveshare/1.0.5857/vspackage
Using Windows Chrome downloads the file as 6961167 bytes which installs properly.
But for some strange reason windows and linux cURL downloads it as 6,684,230 bytes which has a corruption error when installing, would be great if anyone has this figured out.
Note: I actually even copied the headers from Chrome, by right clicking on
curl (bash)in the developer tools.Taolinyinjiu commentedon Dec 10, 2024
I just clicked on your connection and was able to download to 5857.vsix, which works very well on code-server deployed on my linux server.Doesn't look like this version adds too many checks on vscode?
Thank you bilogic and apoorvkh for reminding us
ZigZagT commentedon Dec 12, 2024
Just want to share the latest version of live share (v1.0.5941) has stopped working for me. I had to manually ralling back to 5857 and disable auto update.
among all the versions I could install and test, 5936 was the last version that still works with code-server. The manual installing trick no longer works starting from 5940.