Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Nudge LanguageNew to Visual Studio Code? Get it now.
Nudge Language

Nudge Language

Eren Pehlivan

|
3 installs
| (0) | Free
Nudge language support — typed, replayable, budget-aware LLM agents (.ndg): syntax highlighting, diagnostics via nudgec lsp, formatting via nudgec fmt, commands, snippets, and DAP trace debugging
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Nudge for VS Code

Language support for Nudge — the typed, replayable, budget-aware language for LLM agents (.ndg).

Features

  • Syntax highlighting — keywords, agents, state blocks, record types, llm""" prompts with interpolation, USD money literals, @format / @range constraints
  • Diagnostics, Hover & Go-to-Definition — powered by the compiler itself (nudgec lsp over stdio)
  • Document Formatting — format on save or on demand via nudgec fmt
  • Commands & Tooling — run nudgec check, build, build-ts, test, cost, and launch trace view directly from the command palette
  • Trace Debugging — debug agent execution traces (.jsonl) via the Debug Adapter Protocol (DAP)
  • Snippets — llm, agent, tool, decide, route, forall, type, par, fn, test

Requirements

The language server and commands need the nudgec binary on your PATH. Get it from the GitHub Releases (prebuilt for Linux / macOS / Windows) or build from source with cargo build --release.

If nudgec lives elsewhere, configure nudge.serverPath in your VS Code settings.

Debugging Traces

To step through a recorded trace (.jsonl), add a launch configuration in .vscode/launch.json:

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "nudge",
      "request": "launch",
      "name": "Debug Nudge Trace",
      "trace": "${file}"
    }
  ]
}

Install from .vsix

code --install-extension nudge-lang-1.2.1.vsix

or: Extensions view → ... → Install from VSIX...

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft