Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>StainlessNew to Visual Studio Code? Get it now.
Stainless

Stainless

Stainless API

|
14 installs
| (2) | Free
VSCode extension for editing Stainless configs + OpenAPI specs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Stainless VSCode Extension

The official Visual Studio Code extension for working with Stainless configs. This extension provides intelligent code editing support, real-time diagnostics, and powerful navigation features for Stainless config files and OpenAPI specifications.

Workspace Setup

This extension works with Stainless workspaces. To set up a workspace, install the Stainless CLI and run:

stl init

This creates a .stainless/workspace.json file, which the extension uses to identify your Stainless workspace and provide language support for your configuration files.

Install the CLI with Homebrew (recommended for macOS):

brew tap stainless-api/tap
brew install stl

Or with Go:

go install 'github.com/stainless-api/stainless-api-cli/cmd/stl@latest'

Features

Real-time SDK diagnostics

Get instant feedback on your SDK configuration as you type. The language server analyzes your Stainless config and OpenAPI spec in real-time, surfacing errors, warnings, and suggestions directly in your editor so you can catch issues before running a build.

Diagnostics demo

“Go to definition” and “Find all references”

Navigate your API specification with ease using “Go to definition” to jump directly to schema definitions, parameters, and response types from your Stainless config. Use “Find all references” to see everywhere a schema or endpoint is used across your config and spec files.

"Go to definition" demo

Intelligent completions in your Stainless config

Speed up editing your Stainless config with context-aware autocompletion. The language server suggests valid config options, endpoints, and schema names based on your OpenAPI spec.

Completion demo

Quick fixes and code actions

Resolve diagnostics with a single click using code actions. Some common diagnostics will have an “Autofix”, and all warning diagnostics can be easily ignored.

Quick fix demo

Codelenses for your OpenAPI spec

Codelenses show inline in your OpenAPI spec which schemas and endpoints are configured in your Stainless config. This makes it easy to see at a glance how your API is represented in your SDKs.

Codelenses demo

Live transformations

See the results of your Stainless transformations instantly as you edit your config. The language server automatically generates and updates your transformed OpenAPI spec in real-time.

Installation

Install the extension from the Visual Studio Code Marketplace, or search for "Stainless" in the Extensions view (Ctrl+Shift+X / Cmd+Shift+X).

VSCode Marketplace

Once installed, open a workspace containing Stainless configuration files. You can verify the extension is active by checking the status indicator in the bottom right corner of your editor.

Status bar demo

Feedback and Support

For questions, feedback, or issues, please reach out to local-dev@stainless.com or contact your Stainless sales representative.

License

This VS Code extension is licensed under the MIT License. The Stainless Language Server is proprietary software, copyright © Stainless API, Inc.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft