code-server | Non-root Docker image running Debian and code-server | Continuous Deployment library
kandi X-RAY | code-server Summary
kandi X-RAY | code-server Summary
Non-root Docker image running Debian and code-server.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of code-server
code-server Key Features
code-server Examples and Code Snippets
Community Discussions
Trending Discussions on code-server
QUESTION
I am using the Remote-ssh extension with VS Code (Insiders) to connect to an AWS Linux server. This connection is authenticated with a SSH key stored on my local machine. After I connect, a terminal titled "install" is opened and the following is the output:
...ANSWER
Answered 2021-Jun-02 at 17:45The "Extensions want to make changes
" part does not seem linked to microsoft/vscode-remote-release
, but is more a VSCode warning, as shown in microsoft/vscode
issue 108940, still opened in issue 96699.
Closing the install terminal does not terminate the session, but check settings, as seen in the "Troubleshooting hanging or failing connections": something like "remote.SSH.showLoginTerminal
" could have bearing on what you see.
The OP Charles Williams confirms having set "remote.SSH.showLoginTerminal" to false, which seems to resolve (or hide?) the issue.
QUESTION
Using VSCode with WSL2. Everything was alright until last week. From today, I observed that it is taking time to start the WSL. The following is the log from VSCode.
...ANSWER
Answered 2021-Feb-22 at 07:07The issue seems to be due to proxy configuration in the VSCode settings. Removing it has resolved the delay.
QUESTION
I am trying to use the VS Code extension Remote - SSH (v0.63.0) to develop C/C++ code on a remote system.
The remote system is a cluster of tens of Linux (Ubuntu 14) machines using OpenAFS.
I have run into a problem:
- Initial connection: works fine
- Further attempts fail, it times out during retries
To solve, I would delete the .vscode-server
folder, change extension settings, and try reconnecting a few times. Ultimately, I have learned of two possible solutions:
"remote.SSH.useFlock": false
- This solved the problem for me
"remote.SSH.lockfilesInTmp": false
- Suggested by a peer using the same file system, I didn't try this
What (in practice) is the difference between the two? Which is the better choice?
Aside: SSH config
ANSWER
Answered 2021-Apr-13 at 22:21It sounds like the locks are getting stuck even when the server closes. So on reconnect vscode won't start a new server (because of the lock) but can't connect to the "existing" server because it's already closed
That's where this first option "remote.SSH.useFlock"
comes in. It controls whether vs code uses the flock system call or ln to lock files. Setting this will clean up most issues you could have with mounts that might have issues support flock.
The second option "remote.SSH.lockfilesInTmp"
re-locates the lock files completely (moving them to tmp) because some mounts (like SSH) may have issues even with the ln approach to locking. The downside here is that this moves lock files way from the actual install. So if there's a risk that install may be shared (NFS, shared home, link to shared area, etc.) then vscode may "miss" locks.
If "remote.SSH.useFlock": false
works for you I would keep that.
If you need to use "remote.SSH.lockfilesInTmp": true
take care to avoid running multiple servers out of the same install.
QUESTION
I would like to get the git commit hash of latest tagged release from Github in repo. Is it possible to get it with the GitHub API?
This would be helpful, if not only for the use case below, where I need to use the Git Commit hash (instead of the tag) to download the vscode server code.
This is the code where I try to grab the microsoft/vscode latest commit hash: https://github.com/b01/faith-works-t-shirts/blob/main/.docker/download-vs-code-server.sh
...ANSWER
Answered 2021-Apr-11 at 12:12You would need to get the tag using get latest release API:
QUESTION
I am using VS code Remote-SSH to connect to the remote machines to modify the files. Currently upon trying to connect the Remote-SSH: Connect to host. I get the error message," Could not establish connection to "": spawn ENOTDIR.
The full error log is as follows:
...ANSWER
Answered 2021-Mar-08 at 08:05Coincidentally, I had this problem with my VSCode just today as well! For me, it just stopped working today all of a sudden (may have something to do with the latest VScode update). The problem is that VSCode can no longer find your ssh program, which it was previously able to do.
- Go to your Remote-SSH preferences (
cmd + ,
and search forremote-ssh
). - Find the field labeled
Remote.SSH: Path
. Right now it's probably blank for you because VSCode used to find the executable by itself. - Input the absolute path to your
ssh
executable. If you are unsure of the path, you can runwhich ssh
in your terminal and copy the path it prints out. - Save your settings, and retry the ssh. Worked for me!
QUESTION
I want to use the https://github.com/cdr/code-server for Haskell development. But there is one problem with Haskell Syntax Highlighting. Code-server does not support language extensions (https://github.com/JustusAdam/language-haskell/). I don't need special tools for Haskell development. I just want to have syntax highlighting for .hs anf .cabal files. Maybe there is some way to add syntax highlighting for Haskell? Thank you!
...ANSWER
Answered 2021-Feb-24 at 14:32This works for me with code-server 3.9.0 and manually installing the extension via VSIX. (I built the extension from GitHub)
If you want to request this extension in the code-server marketplace, you can file an issue. code-server will soon be integrated with the open-vsx marketplace, so it could be supported there: https://github.com/cdr/code-server/pull/2659
QUESTION
I'm doing Python/Django development in WSL2:Ubuntu 20.04. When opening VSCode with code .
, the Python extension gets stuck with the message "Python extension loading...". In the Output section, the following code appears:
ANSWER
Answered 2021-Jan-27 at 19:25I solved this problem by downgrading the version of the Python extension to v2021.1.502429796
. Hopefully this gets fixed at some point.
QUESTION
I am using VS code and eslint extension.
Sometimes eslint is crashed with following error:
...ANSWER
Answered 2021-Jan-25 at 01:56There is an issue raised on the official GitHub repo regarding this, you can follow up there
QUESTION
I'm following the instructions to download code-server here: https://github.com/cdr/code-server/blob/v3.8.0/doc/install.md#debian-ubuntu
Because I'm on windows, I'm using Ubuntu on Windows Subsystem for Linux (WSL).
I have successfully run the following two lines:
...ANSWER
Answered 2021-Jan-13 at 00:09The error message indicates that the .deb
is designed to use systemd, which WSL doesn't support (without a lot of extra effort).
However, it appears that code-server
supports a "standalone" (non-package) based installation. See this section of the install doc for details.
QUESTION
For the past few months, I've used this VSCode Extension to work remotely on a linux server via SSH. I'll occasionally have a connection problem, but sshing from a terminal and deleting ~/.vscode-server/
has always fixed it. This time, though, that didn't fix it. I've tried deleting the folder multiple times, I've removed and reinstalled the VSCode extension, restarting my computer, everything I could think of. But each time, it gets stuck at downloading with wget
, even if I leave it going for hours. I can connect to the server by sshing directly just fine, and other people I know can connect to the server through the extension as well. Is there anything else I can try to get this working?
Here's the full installation log (with the host name censored):
...ANSWER
Answered 2020-Nov-30 at 08:04There are a few reports of a similar issue in the microsoft/vscode-remote-release
project which implements for VSCode this feature.
For instance, issue 4008
The remote OS I am connecting to is a RHEL 7 Linux machine.
I tried fiddling with iptables and ports for the wget request to no avail.
It hangs for a little while at the wget step, and ultimately fails to connect. I tried tweaking just about every SSH setting in the remote.The only other thing I noticed that might be related was with the Ports Available text at the bottom of the screen. It never reads anything other than 0 during the connection process. When I'm properly connected, it says 1 Port Available.
However, I did find a successful workaround: I rolled back the Remote SSH extension to 0.55.0 and it worked like a charm again.
So try and downgrade the Remote SSH extension, to see if it works.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install code-server
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page