vscode-remote

SSH session within SSH session - VS Code

浪尽此生 提交于 2021-02-10 18:24:30
问题 I connect to a server within Visual Studio Code using SSH ("Remote-SSH: Connect to Host..."). When working in the terminal within VS Code, the command code <file> results in opening the file in VS Code of the client (therefore on my screen). Now let's suppose I establish another SSH connection from the current session to a workstation within the network of the server using ssh <some workstation> . When I now try to open a file in VS Code using code <file> , nothing happens. My questions are:

Is there a way to get git to work properly from within a dev container using VS Code?

懵懂的女人 提交于 2021-02-07 13:21:59
问题 I am working with VS Code and I installed the Remote Development extension. I created a devcontainer for my Angular application. So far, everything works fine. The Dockerfile and the devcontainer.json files are pretty simple: Dockerfile: FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-12 devcontainer.json : { "name": "Angular App", "dockerFile": "Dockerfile", "settings": { "git.path": "/usr/bin/git", "terminal.integrated.shell.linux": "/bin/bash" }, "extensions": [ "angular.ng

VS Code with WSL now opens the browser.sh file instead of launching the browser

孤街醉人 提交于 2021-02-05 06:32:26
问题 The problem : when running a React project (i.e. npm run start ) with WSL from the terminal in VS Code, the file "browser.sh" is opened in a new window. The browser is no longer launched. This is a new behavior with version 1.52. The release notes indicate that they now add the system variable "BROWSER" and use it to launch the browser. In my case it is set to /home/dan/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/bin/helpers/browser.sh The browser.sh file is a shell script

Visual Studio Code: Remote-SSH connect to Windows Server 2019

只愿长相守 提交于 2021-01-29 10:31:11
问题 I've set up my VSCode Insider to connect th a Windows 2019 Server via the Remote-SSH extension. Is it correct, that I need a WSL installed so that it can set up the VSCode-Server and then it is running within the WSL distro when I'm connected? I thought it would run on Windows instead. 回答1: The stable VS Code 1.40 release does not support for Windows ssh hosts: https://code.visualstudio.com/docs/remote/ssh#_remote-ssh-limitations This feature is still experimental and only enabled in VS Code

VScode remote connection error: The process tried to write to a nonexistent pipe

荒凉一梦 提交于 2020-12-28 06:56:36
问题 I use vscode with remote-ssh to connect my server, after configuring, I want to connect my host, but it failed, the dialog box display:"could not establish connection to XX, The process tried to write to a nonexistent pipe." output: [16:45:20.916] Log Level: 3 [16:45:20.936] remote-ssh@0.49.0 [16:45:20.936] win32 x64 [16:45:20.944] SSH Resolver called for "ssh-remote+aliyun", attempt 1 [16:45:20.945] SSH Resolver called for host: aliyun [16:45:20.945] Setting up SSH remote "aliyun" [16:45:21

VScode remote connection error: The process tried to write to a nonexistent pipe

心不动则不痛 提交于 2020-12-28 06:52:17
问题 I use vscode with remote-ssh to connect my server, after configuring, I want to connect my host, but it failed, the dialog box display:"could not establish connection to XX, The process tried to write to a nonexistent pipe." output: [16:45:20.916] Log Level: 3 [16:45:20.936] remote-ssh@0.49.0 [16:45:20.936] win32 x64 [16:45:20.944] SSH Resolver called for "ssh-remote+aliyun", attempt 1 [16:45:20.945] SSH Resolver called for host: aliyun [16:45:20.945] Setting up SSH remote "aliyun" [16:45:21

Open Containers in Remote SSH Hosts using VSCode

非 Y 不嫁゛ 提交于 2020-12-25 01:04:06
问题 Using the Remote Development extension pack, Visual Studio Code is able to open a Docker container running on the current system, and to open a folder on a remote host connected using SSH. If there is a Docker container running on a remote SSH host, how can VSCode open a file/folder in this container? 回答1: So you want to open a folder inside a container in a remote SSH server. Following are the steps through which I achieved it. Step 1 install Remote Development extension in VSCode and open

Open Containers in Remote SSH Hosts using VSCode

天涯浪子 提交于 2020-12-25 00:58:37
问题 Using the Remote Development extension pack, Visual Studio Code is able to open a Docker container running on the current system, and to open a folder on a remote host connected using SSH. If there is a Docker container running on a remote SSH host, how can VSCode open a file/folder in this container? 回答1: So you want to open a folder inside a container in a remote SSH server. Following are the steps through which I achieved it. Step 1 install Remote Development extension in VSCode and open

Open Containers in Remote SSH Hosts using VSCode

本小妞迷上赌 提交于 2020-12-25 00:58:36
问题 Using the Remote Development extension pack, Visual Studio Code is able to open a Docker container running on the current system, and to open a folder on a remote host connected using SSH. If there is a Docker container running on a remote SSH host, how can VSCode open a file/folder in this container? 回答1: So you want to open a folder inside a container in a remote SSH server. Following are the steps through which I achieved it. Step 1 install Remote Development extension in VSCode and open

Saving '*.php/*.vue': Running 'PHP Intelephense/Vetur' Formatter

*爱你&永不变心* 提交于 2020-12-15 04:14:29
问题 I am having a bit problem on my VSCode. Everytime I save something, it just keeps loading. Screenshot I am not sure why. Everything was fine last week ago. And I can't even type anything on my terminal. I have this extensions installed. List 1 List 2 回答1: I had the same issue since about a week. I notice your PHP Intelephense extension is also on v1.5.4. I changed the extension to an older version (1.5.3), this solved the issue for me. I created an issue on the github page of the PHP