Introducing Snippet Discovery— the fastest, easiest way to discover and save useful snippets from your own code. Snippet Discovery scans a given file or directory and finds the code snippets that you use frequently, enabling you to save them to Pieces. Even better, your saved snippets are upgraded to include smart tags, descriptions and more.
Discovering snippets in your existing code has huge benefits, including:
To activate Snippet Discovery:
2. Choose “Snippet Discovery”
3. Pick a code file or folder from your file explorer, or drag it into Pieces
4. Pieces extracts the useful snippets. You can choose to add them all or just your favorites!
As a reminder, Pieces runs entirely locally on your machine! Your personal Pieces micro-repo will always be specific to you.
Pieces is evolving quickly, from our machine learning models to our UI. You’ll now occasionally see modals asking for feedback on certain actions. We’ll use that feedback to tune our product to your needs. Thanks for contributing!
Pieces OS is instrumental to the entire Pieces suite; this week, we:
Do you want to try the newest features of Pieces before they’re released? Do you want to make a difference in Pieces’ development? Sign up for our Beta Testing Program!