/

Insights

Aug 8, 2022

Aug 8, 2022

Pieces User Stories: Share Code with Context

From keyboard shortcuts to easy search, Pieces reduces the time it takes Greg to find a snippet and remember how to use it.

An illustration of Greg.
An illustration of Greg.
An illustration of Greg.

Like most machine learning engineers, Greg understands the importance of organization. Just take a peek at his Pieces repo— everything is titled, tagged and described so that he can find a snippet and know exactly how to use it in no time.

“I like to keep my snippets organized with a bit of information about what they are and why they're here,” says Greg. With Pieces, it’s faster than ever for him to add all of that information, because nearly all of it is automatically generated. “This snippet has a quick description, a related link, some tags— these were actually auto-generated, and the link was auto-saved to that one. The description was automatically generated on this one, too.”

Automatically adding context to snippets isn’t the only way that Pieces helps Greg save time. From keyboard shortcuts to easy search, Pieces reduces the time it takes to find a snippet and remember how to use it.

“So there's a data science library called Pandas, which is used for working with data frames. And in Pandas, there are a lot of similar functions for manipulating these frames. Merge, join, concatenate, and compare are four similar functions that you would use; merge, join, and concatenate are all different ways of taking multiple frames and combining them into one,” explains Greg. Then he pulls up the snippet’s information view. “So I have notes about when and where to use them in here, and here's a related link that goes to the Pandas documentation page. Now I don't have to memorize which one to use when— I just have a clear example in Pieces.”

Pandas inside of Pieces code viewpandas inside of pieces information view

Over time, Pieces has become the place where Greg stores everything that he needs for programming. “I have a few snippets that aren't code; they're basically notes. I normally would use a note taking app for my notes, but because I already use Pieces in my programming workflow, it makes sense to have my programming-related notes in Pieces.”

All of these features add up to Greg’s favorite: sharing snippets with Pieces links. “The number one thing that I like Pieces for is sharing code. I love to send Pieces links— like when working with one of the interns. I've sent him a bunch of links with info on how to use the snippets. They were kind of quick; I didn't add descriptions to them, but I prefer to share code with Pieces rather than sending the code through Slack because I can add like a description on how to use it or a link to documentation in there, too.”

SHARE

Pieces User Stories: Share Code with Context

Recent

Sep 15, 2025

Sep 15, 2025

Why developers need AI that actually gets Their context

Tired of re-explaining your codebase to AI every week? Discover why developers need context-aware AI that remembers your workflow. Learn how Workstream Activity, Sources, and Time Ranges in Pieces give you control, continuity, and a searchable memory for your entire dev process.

Tired of re-explaining your codebase to AI every week? Discover why developers need context-aware AI that remembers your workflow. Learn how Workstream Activity, Sources, and Time Ranges in Pieces give you control, continuity, and a searchable memory for your entire dev process.

Sep 11, 2025

Sep 11, 2025

AI memory explained: what Perplexity, ChatGPT, Pieces, and Claude remember (and forget)

Discover the different types of AI memory, how they work, key use cases, and the best prompting approaches to get accurate, context-aware responses

Discover the different types of AI memory, how they work, key use cases, and the best prompting approaches to get accurate, context-aware responses

Pieces IDE plugins
Pieces IDE plugins
Pieces IDE plugins

Sep 5, 2025

Sep 5, 2025

From Browser to IDE: how to carry context seamlessly with Pieces

iscover how Pieces helps developers carry context seamlessly across browser, IDE, CLI, and desktop. From snippet capture to Copilot-powered reuse, learn how to eliminate lost time, preserve continuity, and stay in flow throughout your workflow.

iscover how Pieces helps developers carry context seamlessly across browser, IDE, CLI, and desktop. From snippet capture to Copilot-powered reuse, learn how to eliminate lost time, preserve continuity, and stay in flow throughout your workflow.

our newsletter

Sign up for The Pieces Post

Check out our monthly newsletter for curated tips & tricks, product updates, industry insights and more.

our newsletter

Sign up for The Pieces Post

Check out our monthly newsletter for curated tips & tricks, product updates, industry insights and more.

our newsletter

Sign up for The Pieces Post

Check out our monthly newsletter for curated tips & tricks, product updates, industry insights and more.