Get started with the Pieces for
VS Code extension

Code like never before with the power of Pieces right in your IDE.

Install Pieces directly from the VS Code marketplace


• Have VS Code open in the background
• Restart your IDE upon installation

Note: You must download

Pieces OS

to power this plugin

76000+

users and counting

4.6

stars average rating

Seamlessly save and retrieve snippets

Seamlessly save and retrieve snippets

Save useful code snippets directly from VS Code to your personal snippet library to reference and reuse later. Access all of your saved materials, along with AI-generated context and metadata, without ever leaving your IDE.

Solve complex coding problems with Pieces Copilot

Code with confidence with a personalized workflow assistant that adapts to your style, delivering context-aware suggestions and ready-to-use code.

Capture context from your code

Everything you save to your on-device Pieces repository is automatically enriched with titles, tags, descriptions, Git context, helpful online resources, and an anchor link right back to your codebase

Share your code and its context effortlessly

Share code snippets or entire files to your colleagues. Custom shareable links not only include the code but also carry its associated context, making collaboration more efficient.

Find what you need with Global Search

Leverage lightning-fast and on-device search, right inside your editor. Instantly find, reference, and reuse your saved developer materials in just a few keystrokes.

Use Pieces across your workflow

Experience the power of our “tool in-between tools” throughout your day-to-day projects. Pieces deeply integrates with all of your favorite tools, evolving your interactions with code snippets from end-to-end.