Skip to content

Visual Studio Code Extensions

phaledang edited this page Jun 3, 2024 · 11 revisions

Install Visual studio code on Windows

https://code.visualstudio.com/Download

Add below extensions:

Docker

https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh

Remote - Development extension pack

https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack

Includes four extensions:

Remote - SSH

Work with source code in any location by opening folders on a remote machine/VM using SSH. Supports x86_64, ARMv7l (AArch32), and ARMv8l (AArch64) glibc-based Linux, Windows 10/Server (1803+), and macOS 10.14+ (Mojave) SSH hosts.

Remote - Tunnels

Work with source code in any location by opening folders on a remote machine/VM using a VS Code Tunnel (rather than SSH).

Dev Containers

Work with a separate toolchain or container based application by opening any folder mounted into or inside a container.

WSL

Get a Linux-powered development experience from the comfort of Windows by opening any folder in the Windows Subsystem for Linux.

Dev Containers

The Dev Containers extension lets you use a Docker container as a full-featured development environment. https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers

Remote SSH

image image image

References

If you have a simple SSH host setup, connect to it as follows:

  • Press F1 and run the Remote-SSH: Open SSH Host... command.
  • Enter your user and host/IP in the following format in the input box that appears and press enter: user@host-or-ip or user@domain@host-or-ip
  • If prompted, enter your password (but we suggest setting up key based authentication).
  • After you are connected, use File > Open Folder to open a folder on the host.
  • You can press F1 to bring up the Command Palette and type in Remote-SSH for a full list of available commands.

Clone this wiki locally