Delv
Pieces for Developers
Getting Started Guide

How to Use Pieces for Developers

A practical guide to get you up and running with Pieces for Developers. Written by Delv Editorial, Delv Team.

Getting started with Pieces for Developers

In this guide, you will learn how to set up Pieces for Developers and start capturing and organising your code snippets efficiently. By the end, you'll be able to streamline your coding process and easily retrieve important code snippets whenever you need them.

Step 1: Sign up and set up

  1. Go to the Pieces for Developers website.
  2. Click on the “Get Started for Free” button on the homepage.
  3. Enter your email address and create a password, or sign up using your GitHub account for quicker access.
  4. Once registered, confirm your email if prompted and log into your new account.

Step 2: Your first snippet

  1. After logging in, you’ll land on the dashboard. Click the “New Snippet” button located in the top right corner.
  2. In the snippet editor, type or paste your code into the main text area.
  3. Add a title for your snippet in the “Title” field.
  4. Use the “Tags” section to add relevant keywords (e.g., “JavaScript”, “API”) for easy searching later.
  5. Click the “Save” button to store your snippet. You can now find it in your dashboard.

Step 3: Get better results

  1. To improve snippet retrieval, regularly update your tags and descriptions. This will make searching easier.
  2. Use the “Collections” feature to group related snippets together. Click on “Collections” in the sidebar, then “Create New Collection” to organise your snippets by project or language.
  3. Integrate Pieces with your IDE: Click on your profile icon, select “Integrations”, and follow the instructions to connect your IDE (like VS Code or JetBrains).

Pro tip

Use keyboard shortcuts to speed up your workflow. While in the snippet editor, press Ctrl + S (or Cmd + S on Mac) to save your snippet quickly without using your mouse.

Common mistake to avoid

Avoid neglecting the tagging system. Failing to add relevant tags makes it harder to find your snippets later. Always tag your snippets when saving them to keep your library organised.