Vscode extension does not work on code-server
See original GitHub issueHi there! 👋
I created a vs-code extension for code sharing. For running extension I’m using code-server. I’m using web socket for real-time sending and receiving messaged (In this case users mouse position or text highlights).
I open every files which I want to share in browser as tabs.
BUT
When I closed all tabs, my extension goes deactivated, web socket is stopped and I got error.
OS/Web Information
- Web Browser: chrome, firefox
- Local OS: centos
- Remote OS: centos
- Remote Architecture: code-server
code-server --version
: code-server-3.9.1-linux-amd64
Steps to Reproduce
- Run code-server with ( ./code-server ) command
- Copy my extension into ( .local/code-server/extensions ) folder
- Open two browser (chrome/firefox) with (http://localhost:8080) address
- Open share folder in browsers
- Open files inside share folder as tab in browsers
Expected
When user1(chrome) select part of text, user2(firefox) should see that in it’s own browser with different color, this should happens for user2 (Like micro-soft live share)
Actual
Users can select code and other user can see selection of other users BUT when closing all files error accures
Screenshot
This issue can be reproduced in VS Code: Yes
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Extension does not work w/code-server using browser as ...
I'm running VS Code through my browser, on ChromeOS (crostini/Linux), which is hosting code-server. When I use this extension, it does not ......
Read more >FAQ - code-server v4.8.0 docs - Coder
Why can't code-server use Microsoft's extension marketplace? Though code-server takes the open-source core of VS Code and allows you to run it in...
Read more >Remote Development FAQ - Visual Studio Code
No. The VS Code Server is a component of the Remote Development extensions and is managed by a VS Code client. It is...
Read more >Remote Development Tips and Tricks - Visual Studio Code
This article covers troubleshooting tips and tricks for each of the Visual Studio Code Remote Development extensions. See the SSH, Containers, ...
Read more >Visual Studio Code Server
The Visual Studio Code Server is a service you can run on a remote development machine, like your desktop PC or a virtual...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you so much @jsjoeio for your answer.
No problem! I’m going to close this then. Feel free to file upstream and/or open a separate issue if you encounter issues with code-server.