Back

Dec 22, 2021

Extract Code from Screenshots in the Desktop App

A few major features in this release! The biggest is that you can now drag in screenshots of code and Pieces will automatically convert it to copyable text.

Sharing App

1.5.0

A few major features in this release, the biggest being that you can now drag in screenshots of code, and Pieces will automatically convert it to copyable text. Read below for more new features and UI changes.

Pieces for Developers

Adding Pieces

  • [New Feature] Users can now add PNG code screenshots to Pieces via manual file attachment or drag and drop

  • Screenshots will run through optical character recognition analysis (OCR) to enable users to use code from within a screenshot without retyping

Finding Pieces

[New Feature] Users can now add custom tags to a piece to help with search

Users will now see a helpful keyboard shortcut indicator in the search bar to help navigate search behavior:

  • Click “/” to focus the search

  • Click “esc” to escape or re-focus search

  • Click “return” to navigate through search results

Navigating Pieces

The Quick Menu in the Pieces desktop app.
  • The Quick Menu was re-designed to help users see more information at-a-glance and find relevant actions faster
    Related links, tags, and more will now be visible in the Quick Menu

  • Users will experience improved navigation throughout the app when navigating between menus

  • This includes the addition of back arrows when the user can go “back” to a previous menu

Installing & Configuring Pieces

  • [New Feature] Users can now decide whether or not to send crash & usage data to help improve Pieces - This can be toggled in the onboarding experience or in the settings menu

  • The keyboard shortcut to toggle between light and dark mode changed to “cmd+shift+t” on MacOS and “ctrl+shift+t” on Windows

  • The keyboard shortcut to manage tags is now “cmd+t” on MacOS and “ctrl+t” on Windows

Pieces API

Everything we develop is on top of the Pieces API. We're excited to welcome third-party developers who want to build applications on top of our infrastructure. Email us at support@pieces.app for more details.

  • New class called Model, used to describe the ml_model used to classify code, determine text vs code, or ocr classification.

  • A model is now attached to CodeAnalysis & OCRAnalysis, that will give more information around the ml_model used during the processing of this Piece.

  • 5 new low-level core endpoints around adding models.

JetBrains Extension (including IntelliJ and PyCharm)

Get the JetBrains Extension here!

[New] Onboarding View

Performance Upgrades & Bug Fixes

  • Suggestion API is now called in the background for smoother operation

  • IDE boot time error no longer occurs when OS Server is offline

  • Code pasting issues with OS Server offline are gone

  • Assets are no longer cached between sessions

Chrome Extension

Get the Pieces Chrome Extension here!

  • General improvements and bug fixes

VS Code Extension

Get the Pieces VS Code Extension here!

  • New Pieces Action Menu

  • List View to show all save Pieces within VSCode

SHARE