Finding Saved Materials
The Pieces Web Extension view provides search options for locating saved materials within the Pieces Drive.
Once a material is located, you can edit the saved code or text, share it, use it as context for pieces Copilot chats, and more.
Here are a few different ways to locate Pieces Drive materials with the Pieces Web Extension:
via Pieces Sidebar
To locate your snippets, use the Pieces Web Extension sidebar:
Open the Pieces Sidebar
Open the Pieces Web Extension from your browser’s extension section.
Navigate to Pieces Drive
On top of the extension, select the dropdown menu, choose Pieces Drive, and then select the Saved Materials
tab.
Open a Snippet
Click on a snippet to view its content, related details, and quick actions.
via Search Feature
If you know exactly what you’re looking for, you can search for specific snippets:
Click the Search Bar
Open the search bar at the top of the Pieces Web Extension sidebar.
Enter Your Query
Type your search query.
Navigate the Results
Scroll through the results or use the arrow keys to find your desired snippet.
Open the Snippet
Click on the snippet to open it and view its content, associated metadata, and quick actions.
To narrow down your search, you can use tags, descriptions, names, types, or even languages themselves.
Adding Filters to Your Search
Saved snippets being viewed in the Pieces Web Extension sidebar can be sorted and filtered to narrow down your search results.
Filtering Snippets
Filter for saved materials that meet specific criteria if you have too many results to sift through manually.
Click the Search Bar
Open the Pieces Web Extension, change to Pieces Drive
, select the Saved Materials
tab, and click on the search bar at the top of the extension.
Use Quick Filters
Apply quick filters such as Titles
, Annotations
, or Content
that appear below the search bar.
Filter by Tags or Keywords
Enter specific tags or keywords in the search bar to narrow down the snippets displayed.
Sorting Saved Materials
Once you have a list of saved materials in view, you can sort through them according to various criteria to locate the material you need.
Click the Sorting Icon
Click the icon at the top of the extension(e.g., the clock
icon for Recent). The icon changes based on the selected sorting method.
Choose Sorting Order
Select your preferred sorting order, such as Recent
, Suggested
, Alphabetical
, or Language
.
Viewing and Reusing Saved Snippets
Saved snippets can be viewed with their metadata by opening them directly from the Pieces Web Extension. Just click on them in the Pieces Drive once you've found them.
From this view, you can use Quick Actions or copy the snippet in your browser. You can also click on the snippet for a quick overview.
From this view, use the Pieces Actions
button at the bottom of the snippet to copy, edit, update annotations, generate a shareable link, toggle the visibility of the Pieces Actions buttons, or highlight and right-click to copy.
You can press ⌘+c
(macOS) or ctrl+c
(Windows/Linux) to copy to your clipboard.
via Pieces Sidebar
You can view saved materials by opening Pieces Drive in your browser.
Click the Pieces icon in the extension list, click the dropdown menu at the top left of the extension, and select Pieces Drive
.
Once in the snippet, you can copy a snippet from Pieces Drive and use that material anywhere you’d like.
Previewing Saved Snippets
When using the Pieces Drive within the Pieces Web Extension, you can click on the three vertical dots on a saved code snippet to delete it, or select from 6 additional options:
|
|
|
---|---|---|
|
|
|
Real-Time Snippet Streaming
Every product within the Pieces Suite utilizes PiecesOS to gather information regarding the context of your snippets.
When you modify a snippet in the Pieces for Developers Desktop App—like changing its name or description, tags, or any other metadata—those updates are automatically shown in your Pieces Web Extension without the need for refreshing.
If your snippets aren’t updating immediately, refer to the troubleshooting guide for instructions on refreshing your snippet list.