Table of contents
- In addition to, saving, enrichment, searching, and sharing, pieces is packed with a ton of other features that supercharge developers' workflows like editing snippets and their context, inserting a snippet on click, and more!
- Inserting a saved Code Snippet at your current cursor location
- Editing saved Code Snippets and Text Notes
- Renaming a Saved Material
- Reclassifying a Code Snippets' Language Association
- Deleting a Saved Material
- Connecting Custom Cloud Domain
In addition to, saving, enrichment, searching, and sharing, pieces is packed with a ton of other features that supercharge developers' workflows like editing snippets and their 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 detail about our main features, read them here:
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.
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.
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. 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".
Reclassifying a Code Snippets' 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, related people - as possible.
One of our fundamental capabilities is Instant Language Detection, which automatically detects the language of your snippet and supports over 50 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".
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".
Connecting 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, 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.
These features in Visual Studio Code allowing users to personalize each snippet, manage their own saved materials to stay relevant and up to date to them and more easily apply and reuse each snippet. Ultimately, allowing developers to save time, code, and workflow by allowing code their code to stay dynamic to them.
Pieces is just getting started with cutting-edge, powerful, and secure products across developers workflows. Check out more of our products!