DEV Community

Pieces ๐ŸŒŸ
Pieces ๐ŸŒŸ

Posted on โ€ข Edited on

1

Pieces for VS Code Additional Features and Benefits

In addition to saving, enrichment, searching, and sharing, Pieces is packed with a ton of other features that supercharge developersโ€™ workflows, like editing a snippet and its context, inserting a snippet on-click, and more!

If you havenโ€™t gotten a chance to take a look, check out our posts that go into more detail on our main features:

Nevertheless, here are some additional features and capabilities that are enabled with the Pieces for Developers | Visual Studio Code Extension.

Inserting a saved Code Snippet at your current cursor location

When you're ready to re-use a snippet, we offer a variety of ways to quickly access and insert snippets into your active file. In addition to Auto-Complete or Global Search using the command palette, users also enjoy the ability to insert a saved snippet at their cursor location via right-clicking on the snippet in the List View.

Image description

Editing saved Code Snippets and Text Notes

As we progress deeper into our projects, frameworks and dependencies often change, which means we might need to adjust a saved snippet to comply with breaking changes or conform to new standards. Right-click on a snippet in the List View and select "Edit" to quickly and easily edit a saved snippet so your code can stay relevant and up-to-date.

Image description

Renaming a Saved Material

We're on a mission to make it as frictionless as possible for our users to save snippets without disrupting their flow. The AI in Pieces for Developers will attempt to add a relevant name for your snippets automatically, so you don't have to. Don't worry, you can rename your snippets anytime to a convention that works best for you. All you need to do is right-click a snippet in the List View and select "Rename".

Image description

Reclassifying a Code Snippet's Language Association

When you save a material to Pieces for Developers, our AI works hard to understand what you saved so that we can successfully add as much helpful metadata - tags, related links & websites, or related people - as possible.

One of our fundamental capabilities is Instant Language Detection, which automatically detects the language of your snippet and supports over 35 programming languages including Typescript, Javascript, Python, Dart, C++, C#, and many more. Unfortunately, we don't always get it right, so we made it as easy as possible to reclassify a snippet to the proper language. Simply right-click a snippet in the List View and select "Reclassify".

Image description

Deleting a Saved Material

Since we made it so simple to save snippets from the browser, your IDE, and using our Flagship Desktop App, users are saving hundreds of snippets throughout their time researching, coding, and collaborating. For some, this can get a little chaotic. If you find yourself looking to do a little spring cleaning, you can delete snippets by right-clicking a snippet in the List View and selecting "Delete".

Image description

Connecting a Custom Cloud Domain

Sharing materials using Pieces for Developers is about more than sharing the material itself. It's about sharing the material and all the contextual metadata associated with it - where it came from, what it does, how to use it, associated people, and more. What's unique about our shareable links and sharing with Pieces for Developers is all of our users receive their own, dedicated cloud, isolated from other users.

As a result, you can personalize your cloud domain with a custom name, like https://mack.pieces.cloud. Now, when you generate and share a link, your link will include your personalized domain, so users know exactly who it came from.
See this Shared Python Snippet from python.pieces.cloud in your browser. Notice this is from the custom domain, "python".

To personalize your cloud domain, open the Pieces for Developers | Desktop App and navigate to the settings menu.
Important Note:

  • Updating your personal cloud domain can take up to 15 minutes for the new domain to go live. Don't worry, we will notify you when this is complete.

Image description

These features in the Pieces for Developers Visual Studio Code Extension allow users to personalize each snippet, manage their own saved materials, and more easily apply and reuse each snippet.
Pieces is just getting started with cutting-edge, powerful, and secure products across developers workflows. Check out more of our products!

Billboard image

Use Playwright to test. Use Playwright to monitor.

Join Vercel, CrowdStrike, and thousands of other teams that run end-to-end monitors on Checkly's programmable monitoring platform.

Get started now!

Top comments (0)

AWS Security LIVE! Stream

Level up your security knowledge and skills

Join AWS Security LIVE! for expert insights on threat detection, infrastructure protection, and more. Hosted by AWS experts and AWS Partners. No sales pitches, just deep dives!

Learn More

๐Ÿ‘‹ Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay