The Guts of the PowerShell VSCode Extension
summary
The extension actually runs a C# LSP server inside a live PowerShell runspace connected to a TypeScript VS Code client, and the talk shows 15 million downloads, the binary-module shim that manipulates the runspace, and the single runspace pipeline queue that required locking, cancellation and prioritization to avoid stalls. Demos reveal PowerShell Editor Services over named pipe LSP transport, the tab‑completion via the tab API, pipelined command execution, and the devcontainer/Codespaces debug workflow that made stepping and diagnostics fast and reproducible.
AI-written summary · about
chapters (6)
- 0:00PowerShell VSCode intro
- 10:06VSCode architecture basics
- 20:44Extension integration
- 35:01Language Server Protocol
- 51:45Debugging in dev container
- 1:06:30Q&A
related talks
44mUsing Visual Studio Code as Your Default PowerShell Editor
32mA brief history and overview
01h 32mOptimizing Visual Studio Code for PowerShell, 2023 Edition
46mOptimizing Visual Studio Code for Powershell Development
01h 14mCreating a PowerShell Editor
45myear of improvements to your PowerShell editing experience
43mPowerShell Tooling
58mWriting VS Code extensions for fun and profit
