Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Pieces for Visual Studio
Pieces for Visual Studio

Pieces for Visual Studio

Mesh Intelligent Technologies - Inc.

pieces.app
|
5,085 installs
| (10) | Free
An on-device storage agent and AI coding assistant integrated throughout your entire toolchain that helps developers capture, enrich, and reuse useful code, as well as debug, add comments, and solve complex problems through a contextual understanding of your unique workflow.
Download

Pieces for Visual Studio

See the full docs

Pieces is an all-in-one productivity tool that gives developers complete contextual awareness of their workflow from browsers to Slack and other IDEs, no matter the source. Leverage the power of the Pieces Copilot, the Long-Term Memory Engine, and Pieces Drive—all directly within Visual Studio.

Enhanced AI Assistance

Pieces provides comprehensive AI-driven capabilities, enabling developers to:

  • Query cloud and local LLMs directly within Visual Studio
  • Generate context-aware code solutions and suggestions
  • Access Long-Term Memory across your workflows and apps
  • Explain and comment code intelligently to enhance readability
  • Troubleshoot and fix bugs efficiently with contextual insights

img

Pieces Copilot

Initiate a conversation with the LLM of your choice, providing as much context as needed by adding files, folders, or even entire repositories to the chat.

To initiate Copilot from the editor, select a portion of code, right-click, and hover over the Pieces item in the context menu.

image

  • Modify Selection with Copilot: Edit or transform the selected code to improve readability, optimize performance, or adapt it for other needs.

  • Explain Selection with Copilot: Get detailed explanations of the code’s functionality.

  • Comment Selection with Copilot: Generate inline comments to improve code clarity.

Quick Actions

Pieces can Comment or Explain your code inline with one click using Codelens actions. Generate meaningful, insertable documentation explaining the purpose and function of your code, or get a breakdown of some code logic.

img

Pieces Drive

Pieces allows you to save materials such as code snippets into your Pieces Drive, and enriches them with AI-generated metadata, such as tags, titles, authorship details, and descriptions, keeping everything organized and accessible.

Image

  • Save Current Selection to Pieces: Right-click a code block and save it to your repository with AI-enriched metadata, ensuring easy access to frequently used materials.

  • Save Active File to Pieces: Save the entire active file to your repository in one action—ideal for preserving larger scripts or complete files.

  • Ask Copilot About Selection: Start a conversation with Pieces Copilot to gain insights, explanations, or improvement suggestions for the selected code.

  • Ask Copilot About Active File: Analyze the active file with Pieces Copilot to get insights and recommendations for your codebase.

  • Share: Share materials with your team by creating distributable copies of reusable code.

  • Search Pieces: Quickly find specific materials in your repository using keywords, tags, or titles.

Connect with Pieces

Join our Discord

Become a part of our Discord community to stay updated and engage in discussions about our features.

Submit a Feature Request or Feedback

Have an idea for a new feature? Feel free to submit your suggestions on our GitHub support repo.

Tech Blogs

Stay connected and up-to-date with our latest blogs.

Plugins

Explore our collection of awesome Pieces plugins.

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