LambdaFlow for VS Code
Create, configure, build, run, and debug Windows and Linux desktop applications
with web frontends and the backend language you choose—all without leaving VS
Code.
This checkout prepares extension 2.0.1 with the pre-release flag for
LambdaFlow 2.0.0-beta.1.
Enable lambdaflow.developmentHmr in a trusted Vite project to refresh
components during the Development task. Set lambdaflow.pythonRpcSource
to a project-relative entry file such as backend/backend.py. Development
then regenerates its TypeScript API. LambdaFlow: Generate RPC Client
also runs separately and can use the default JSON contract.
Contents
Features
- Create self-contained LambdaFlow project source trees.
- Choose C#, Java, Python, Node.js, Go, or a custom backend.
- Choose basic HTML or a Vite-based React, Vue, or Svelte frontend.
- Edit
config.json through a visual editor without discarding custom fields.
- Build and package Windows or Linux targets.
- Run, restart on source changes, or enable host debug features on the current target.
- Locate user-installed .NET and Node.js toolchains across both platforms.
- Use the same CLI and package format as terminal-based LambdaFlow workflows.
Requirements
- VS Code 1.85+
- .NET 10 SDK
- Git, when using automatic framework download
- Node.js and npm for React, Vue, and Svelte frontends or a Node.js backend
- A matching standalone CLI with a verified host archive, or a LambdaFlow source checkout
- Backend toolchain selected by the project
- Linux runtime: GTK 3 and WebKitGTK 4.1
- Windows runtime: Microsoft Edge WebView2
Setup
- Install the extension and open the LambdaFlow sidebar from the λ activity-bar
icon.
- Run LambdaFlow: New Project, or open an existing LambdaFlow project.
- When prompted, clone the framework to the recommended location, choose a
parent folder for the clone, or select an existing repository.
If the framework is not configured, the recommended clone location is:
- Windows:
%APPDATA%/LambdaFlow/framework
- Linux:
$XDG_DATA_HOME/LambdaFlow/framework or ~/.local/share/LambdaFlow/framework
Projects may be created anywhere, independently of that repository. A selected
custom parent receives a LambdaFlow subfolder. Downloads are staged in a
temporary sibling folder, so the extension never deletes a pre-existing invalid
target. A self-contained project's embedded CLI can build that project.
To use the standalone CLI, install the .NET tool and the host artifact for
your target. The extension searches PATH and ~/.dotnet/tools, or accepts an
absolute LambdaFlow: CLI Path. A configured framework checkout takes
precedence. The standalone CLI creates projects using embedded templates.
The extension locates dotnet through DOTNET_HOST_PATH, DOTNET_ROOT, PATH,
standard platform locations and ~/.dotnet. If the SDK is installed elsewhere,
set LambdaFlow: Dotnet Path to the absolute executable path. CLI tasks use direct
process execution, so they do not depend on Bash, PowerShell or Fish quoting.
For React, Vue, Svelte, and Node.js builds, the extension also locates Node.js through NODE, PATH,
standard install locations, ~/.local/share/node and ~/.local/node. It adds
the Node and .NET executable directories to the CLI task environment, so nested
npm, npx and dotnet publish commands work even when VS Code was launched
without those user-local directories in PATH. Set LambdaFlow: Node Path if
Node.js is installed elsewhere.
Commands
| Command |
Purpose |
LambdaFlow: New Project |
Scaffold a backend/frontend project |
LambdaFlow: Build |
Build for a selected Windows or Linux target |
LambdaFlow: Build & Run |
Build and launch the packaged host |
LambdaFlow: Build & Debug |
Force debug config for the package and launch it |
LambdaFlow: Trace IPC |
Run a debug build and open the bounded IPC inspector |
LambdaFlow: Filter IPC Trace |
Select direction, errors, or pending calls and search by method or correlation ID |
LambdaFlow: Pause or Resume IPC Trace |
Freeze the displayed snapshot or show the latest snapshot |
LambdaFlow: Start Development |
Rebuild and restart on source changes |
LambdaFlow: Stop Tasks |
Stop active LambdaFlow tasks |
LambdaFlow: Package ZIP |
Create a portable archive for a target |
LambdaFlow: Doctor |
Report the environment, host availability, and runtime dependencies |
LambdaFlow: Edit Configuration |
Open the visual config.json editor |
The sidebar displays the open project's name, version, and IPC transport.
The configuration editor reads JSON with comments and trailing commas and
saves standard JSON. It edits declared Windows and Linux x64 or ARM64 targets.
New projects include a native host launch configuration that resolves the
active target via the CLI. C#, Node.js, Python, and Go projects also include a backend
attach configuration. Start the app first, then select its backend process
from Run and Debug. C#, Python, and Go require their respective debugger
extensions. Node.js uses VS Code's JavaScript debugger.
Trace IPC shows up to 512 recent records in a read-only editor tab.
It shows method names, pseudonymous correlation IDs, direction, failures, and
matched round-trip times. Pending calls are inferred from the retained
snapshot. Pausing freezes the display while collection maintains its same
limit. Payloads and original IDs stay out of the snapshot.
Project wizard
The wizard asks for:
- Application name
- Target directory
- Backend template: C#, Java, Python, Node.js, Go, or Other
- Frontend template: basic HTML, React, Vue, or Svelte
The extension invokes the LambdaFlow CLI and creates a self-contained source
project. Backend compile/runtime defaults for Windows and Linux are written to
config.json. C#, Java, and Python receive their canonical SDK; Node.js and Go
receive dependency-free protocol starters. Every Vite template includes an
automatic backend.ping connectivity check.
Configuration editor
The window settings include startup mode, title bar, resizing and frontend
controls. Enter backend argument lists as JSON arrays. Each argument is
passed to the backend exactly as written, including spaces and quotes.
The visual editor preserves unknown JSON fields and supports:
- App name, version, organization, and icon
- Window title and min/initial/max sizes
- Backend/frontend/result folders
- Ordered prebuild commands
- Windows x64 compile directory, compile command, run command, and run arguments
- Linux x64 compile directory, compile command, run command, and run arguments
Auto, NamedPipe, or StdIO transport
- DevTools, console capture, backend console, and debug log level
Use View JSON for architecture entries or custom fields not represented by the form.
Build and run behavior
Build and Package let you select the target. Run, Debug and Development
use the local target and delegate execution to the CLI. Debug enables host
diagnostics and webview developer tools. Configure a language debugger
separately if you need backend breakpoints.
In a multi-root workspace, commands use the project containing the active
editor or prompt for a project. Use Start Development to monitor source
files, Stop Tasks to terminate active LambdaFlow tasks and Doctor to
print runtime and host availability in the task terminal.
Security and workspace trust
LambdaFlow projects can define pre-build and backend compile commands. Review a
project's config.json before building it and only use projects you trust. The
extension declares untrusted and virtual workspaces as unsupported, so VS Code
does not enable build or execution features there.
Automatic framework download clones only
https://github.com/simplelambda/LambdaFlow.git. The extension does not collect
telemetry or send project contents to a remote service. Normal VS Code, Git,
toolchain, and dependency security practices still apply.
Extension development
cd Integrations/vscode-extension
npm ci
npm run compile
npm run package
Open the extension folder in VS Code and press F5 to start an Extension Development Host.
Source files are under src/. The runtime entrypoint uses compiled files under out/, so run npm run compile after every source change.