Save useful code to your Pieces micro-repo
Templates, terminal commands, useful snippets...save the repetitive elements of your code in one-click for later use.
Find and re-use just the right snippet when you need it
Blazing fast, powerful search of your Pieces snippets right inside your editor.
Let Pieces auto-save useful snippets
Pieces trains on your behavior and auto-saves frequently used or useful snippets, since you might not realize you need them later until it’s too late.
Share code from VS Code without breaking your coding flow
Share snippets in Slack or Teams with a simple right click action. Your colleagues receive both the snippet and its related context — tags, descriptions and more.
Auto-complete code from your Pieces repo
Leverage code completion suggestions from your micro-repo. No size limit!.
Thoughtfully designed by fellow developers
The Pieces OS helper service is required in order for Pieces for VS Code to work properly. Pieces OS runs 100% locally on your computer (no code is sent to a cloud server) with the option to connect to cloud for sharing.
Pieces for VS Code
Saving Code Snippets
To save a snippet, hover over some code and hit shift+cmd+V for Mac (shift+ctrl+V for Windows) or just right-click and select ‘Save to Pieces’.
Where can I view my saved pieces?