liveBook · Manning

Visual Studio Code

As explained in LLMs in Production

VS Code is a source-code editor from Microsoft with extensibility for programming, debugging, and remote development.

Visual Studio Code (VS Code) is a lightweight, open-source code editor that can become a practical remote development environment. With the Microsoft-maintained Remote-SSH extension, it opens a cloud virtual machine in a new editor window and lets you work there much like locally. section 5.1.1 section 10.0

VS Code is used here for two closely related jobs:

  • Connect to a cloud VM over SSH after configuring the Google Cloud command-line tools, then edit and operate the remote project through the editor. section 5.1.1
  • Serve as the host for a coding copilot extension that calls an LLM service and uses retrieval-augmented generation for Python-focused assistance. section 10.0
  • Offer a narrower, lighter alternative to the full Visual Studio IDE while supporting an extensible project workflow. section 10.0
$ gcloud compute config-ssh

Use the SSH configuration command before selecting the remote host through VS Code’s command palette. section 5.1.1

How LLMs in Production covers it

How deep it goes
Demonstrates SSH setup and extension integration, but stops short of detailing VS Code’s internal architecture.
Examples
Uses a Google Cloud VM, Remote-SSH, and a Python-focused coding copilot extension as concrete applications.
What it assumes
Assumes basic terminal, SSH, cloud VM, and command-line familiarity while demonstrating the editor workflow.
What you can do after
Build a VS Code extension or operate a cloud development environment through Remote-SSH.
How it connects
Connects remote development with SSH, cloud virtual machines, LLM services, retrieval-augmented generation, VectorDBs, and coding copilots.

Also explained in

Compare how 7 books explain Visual Studio Code →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of LLMs in Production. The section links point to the parts of the book it draws on.