Pieces 1.9.0: Write less code, save more time with Snippet Discovery
The Pieces Crew
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:
Standardizing your code within and across projects
Less time spent re-writing the same code over and over
Quickly and easily sharing standard snippets among your team
To activate Snippet Discovery:
Open the “Add a Piece” submenu
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.
Give us feedback
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!
Bug fixes & performance improvements
We noticed that users could add an empty Related Person or Sensitive. This is now fixed.
If you use Pieces while connected to an account, some parts of the app used to malfunction if you lost internet connection. Not anymore— this is also fixed.
Pieces OS is instrumental to the entire Pieces suite; this week, we:
Added Relationships Architecture and two new endpoints
Deprecated .ext from the Format Model, so the sole source of truth is our ClassificationSpecificEnum
Fixed some small bugs
Join our Beta Testing Program
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!