Back

Sep 20, 2022

Write Less Code, Save More Time with Snippet Discovery

Look what we found 🔭 Discover your commonly reused snippets. Write less code. Save more time. 😇 Even more updates availble with today's release!

Sharing App

1.9.0

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.

The Add a Piece menu in the Pieces Desktop App.

2. Choose “Snippet Discovery”

All of the ways to add a snippet to Pieces.

3. Pick a code file or folder from your file explorer, or drag it into Pieces

The menu where you can select or drag a file to Snippet Discovery.

4. Pieces extracts the useful snippets. You can choose to add them all or just your favorites!

The 40 snippets that Pieces discovered in the file.

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!

A feedback widget in Pieces for Developers.

Bug fixes & performance improvements

  1. We noticed that users could add an empty Related Person or Sensitive. This is now fixed.

  2. 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

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!

Support

As always, if you run into issues or have feedback, please fill out this quick form or email us at support@pieces.app and we’ll be in touch as soon as possible!

SHARE