DEV Community

Cover image for Do you use GitHub Copilot Code Completion? You should be using this FREE tool with it
Pieces ๐ŸŒŸ
Pieces ๐ŸŒŸ

Posted on • Updated on • Originally published at code.pieces.app

Do you use GitHub Copilot Code Completion? You should be using this FREE tool with it

What is GitHub Copilot?

GitHub Copilot is just one of the generative AI tools that have taken the world by storm. If youโ€™re a developer and havenโ€™t heard of it, Copilot is an โ€œAI-pair programmer.โ€ It auto-completes code, boosts developer productivity, and eliminates bottlenecks and mundane coding tasks. Copilot helps developers get out of the weeds and become more creative, thereby building better software. GitHub Copilot uses OpenAI's Codex to generate code snippets in real-time, as the developer writes code in their IDE.

As developers continue to use Copilotโ€™s code generator and autocomplete features and delve deeper into new languages and frameworks with the help of AI, they will need additional AI-powered tools to keep up with the volume and technical sophistication of their generated code. Pieces for Developers brings new capabilities to the development workflow, and it pairs perfectly with generative AI tools like Copilot.

What is Pieces for Developers?

Pieces for Developers is an advanced snippet manager and productivity helper. Itโ€™s designed to optimize developer tools and eliminate the chaos of context switching. It allows developers to quickly save, enrich, search, transform, and share code snippets throughout their workflow. This makes it a great companion for developers looking to organize their work. Pieces for Developers is powered by a combination of AI from in-house models and OpenAI's APIs. Itโ€™s compatible with a wide range of developer tools, including IDEs, browsers, and GitHub. Pieces can ingest an entire repository and extract dozens of valuable code snippets that it will enrich and suggest later.

How does Pieces work with Copilot?

When a developer generates a code snippet using Copilot code completion, Pieces captures additional information about the snippet, including its description, tags, and related links. This information enriches the snippet and makes it easier to search and share. Moreover, Pieces for Developers can provide valuable insights into the codebase generated by GitHub Copilot. The tool's AI capabilities capture contextual information about the code snippets, such as the programming language, the code's purpose, and its potential use cases. This information better organizes and manages the codebase, making it easier to find and reuse snippets in the future.

Using Pieces and GitHub Copilot in your IDE.

While GitHub Copilot and Pieces for Developers are powerful tools on their own, they work together to provide an even more powerful workflow for developers. GitHub Copilot coding tools generate code snippets in real-time, while Pieces for Developers manages and enriches these snippets, providing valuable insights into the codebase. When used together (or using Pieces as a GitHub Copilot alternative), these tools streamline the developer workflow and improve productivity.

A chart demonstrating that Pieces for Developers levels up GitHub Copilot's capabilities.

Top comments (0)