Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Pieces for VS CodeNew to Visual Studio Code? Get it now.

Pieces for VS Code

Pieces

|
5,917 installs
| (28) | Free
Save, find and reuse code snippets and files straight from VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

The fastest, smartest AI Assistant for code snippets

Automatically or manually save code from anywhere, then power up with code-auto complete from your own snippets. 100% free!

Instantly save snippets from VS Code or your browser

  • Highlight code in VS Code and simply right-click or use a keyboard shortcut to save snippets
  • One-click save snippets from any webpage with the Pieces browser plugins

Auto-save useful snippets (Coming Soon)

  • The Pieces AI Assistant auto-saves frequently used or useful snippets based on your behavior. Since you might not realize you need them until it’s too late.

Auto-complete code from your saved snippets

  • The Pieces AI Assistant suggests auto-completions as you type.
  • Suggestions are trained on your personal repo of saved snippets. Pieces code completions are complementary to open source-centric auto-completion tools!
  • Suggestions can be based on the snippet name, code contents or any related metadata such as a tag
  • No size limit for auto-completions- auto-complete from a single line or a 1000-line widget tree

Saved snippets are intelligently enriched

  • Auto-classifies your snippet by language
  • Auto-generates tags based on the content or structure of the snippet, where it is saved from and more, so you can quickly find that one snippet later

Unlock more features with the Pieces desktop app

  • The Pieces desktop app enables additional features such as:
    • Responsive UI to view snippets in ultra-narrow or wide screens
    • Save screenshots of code to Pieces, instantly receive the copyable snippet
    • (Coming Soon): Share snippets via shareable links. Shared links will include the snippet, tags and more meta-data
    • And much more!

Safe & Secure

  • Runs 100% locally on your machine with the option to connect to the Cloud for backup, sync and sharing

Installation:

To get started:

  1. (Required) Download Pieces OS from pieces.app/install. This enables Pieces to run locally on your machine and manages connections to Pieces plugins. This plugin will not run without Pieces OS Installed.
  2. From the VS Code Marketplace, click ‘Install’ on the Pieces plugin page
  3. Press the ‘Reload IDE’ button
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2022 Microsoft