Pieces Copilot

With Pieces Copilot inside the Pieces for JetBrains Plugin, you can bring the power of AI into any of your JetBrains IDEs—like PyCharm, IntelliJ IDEA, RubyMine, and more.

With the Pieces Copilot, you can generate intelligent code comments, access AI Quick Actions, and ask variable-context coding questions without leaving your JetBrains IDE.


Generative AI Conversations

If you’re unsure how to implement a specific piece of functionality, stuck on a bug, or simply want a useful answer to something within your codebase, you can use the Pieces Copilot to receive context-aware responses to help you move forward.

The Pieces for JetBrains plugin provides several levels of conversation functionality, each of which is fully integrated with Pieces—you can enable the Long Term Memory Engine (LTM-1) for full, streamlined context across your entire workflow, or open a limited context conversation in the IDEs side view.

Adding Conversation Context

The Pieces Copilot lets you add specific folders or files to the conversation’s context window—like files from the codebase you’re working in—so that you always have explicit and accurate answers to pressing questions at your fingertips.

Read more about what kinds of materials can be added as context, and how to do it.

Pieces Copilot Tools

Discover powerful AI-powered tools and features within the Pieces for JetBrains Plugin.

Documenting Code

Effortlessly create meaningful code comments using the Pieces for VS Code Extension. By analyzing your code's structure and purpose, Pieces Copilot generates clear and helpful comments to improve readability and make maintenance easier.

Try using the Pieces: Comment feature, an AI Quick Action, to add context-aware, intelligent code comments. This tool helps you create comments that are not only relevant but also insightful, enhancing the overall understanding of your code.

This opens the Pieces Copilot in the VS Code sidebar, which begins adding documentation to the highlighted snippet, from which you can select the Insert at Cursor option to add the comments to your code.

Use this feature to maintain consistency in documentation and simplify handoffs for collaborative projects.

Enhanced Debugging Tools

Detect and address code issues quickly with Pieces for JetBrains Plugin Code Debugging feature. It pinpoints problems, suggests solutions, and provides detailed context, making bug fixes faster and more intuitive.

The code debugging feature is particularly useful for tackling complex debugging tasks and ensuring code quality across projects.

Using this feature is simple—locate the error in the code, marked by a red underline. Hover over the section to view the quick debug information provided by JetBrains. Then, click on More Actions and select Pieces: Copilot Fix.

Generate & Update Code

With the Pieces for VS Code extension, you can enhance your workflow with powerful AI Quick Action:

Selecting Your Pieces Copilot Runtime

Choose between different LLMs directly within JetBrains by accessing the sidebar and selecting your preferred model by clicking the currently-utilized LLM under Active Model (Claude 3.5 Sonnet).

Options range from lightweight models for simple queries to advanced models for in-depth analysis, as well as local and cloud-based LLMs.

This flexibility allows you to tailor Pieces Copilot to your specific development needs, whether it’s speed or accuracy.

Read more about what LLMs are available for use with the Pieces for VS Code Extension.

Pieces Copilot As a Daily Driver

The Pieces Copilot is a powerful, adaptable tool that grows with you as you use it—so use it!



Download the Pieces for JetBrains Plugin today!
Updated on