ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Pieces

A comprehensive AI solution for saving, sharing, and reusing code materials in your Sublime Text environment, with a powerful integration of AI assistance and Copilot and many LLM models including ChatGPT functionality, specifically designed to enhance your coding workflow.

Labels snippets, ai, pieces

Details

Installs

  • Total 3K
  • Win 1K
  • Mac 1K
  • Linux 664
Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14
Windows 1 3 1 1 4 5 1 0 3 2 3 3 0 1 1 6 4 2 5 3 1 5 2 2 4 5 3 5 3 4 8 11 2 9 4 2 4 5 2 4 6 5 4 5 7 2
Mac 0 2 5 3 4 1 1 0 4 2 2 1 6 3 6 3 2 3 5 3 2 3 4 2 4 2 3 2 2 0 2 4 2 3 4 0 2 2 4 5 5 1 1 1 7 8
Linux 0 2 1 1 1 2 1 2 1 1 5 1 1 0 1 0 4 1 7 1 0 3 0 2 4 1 1 0 0 1 1 1 1 2 0 2 5 5 1 1 1 2 1 4 2 1

Readme

Source
raw.​githubusercontent.​com

Pieces Sublime Plugin

Pieces for Sublime

See the full docs

Pieces is an all-in-one productivity tool that gives developers complete contextual awareness of their workflow from browsers to Slack and other IDEs, no matter the source. Leverage the power of the Pieces Copilot, the Long-Term Memory Engine, and Pieces Drive—all directly within Sublime.

Enhanced AI Assistance

Pieces provides comprehensive AI-driven capabilities, enabling developers to:

  • Query cloud and local LLMs directly within Sublime
  • Generate context-aware code solutions and suggestions
  • Access Long-Term Memory across your workflows and apps
  • Explain and comment code intelligently to enhance readability
  • Troubleshoot and fix bugs efficiently with contextual insights

Configuration

Before diving in, let's ensure everything is set up to your liking. You can customize the LLM model or some other settings by navigating to: Preferences > Package Settings > Pieces > Settings.

You can also open the settings from the command palette Pieces: Open Settings.

Pieces Open Settings

Pieces Copilot

Initiate a conversation with the LLM of your choice, providing as much context as needed by adding files, folders, or even entire repositories to the chat.

To initiate Copilot from the editor, select a portion of code, right-click, and hover over the Pieces item in the context menu.

pieces copilot

Quick Actions

Pieces can Comment, Modify, Fix a bug or Explain your code when you select an action from the right-click context menu in the editor.

quick actions

Pieces Drive

Pieces allows you to save materials such as code snippets into your Pieces Drive, and enriches them with AI-generated metadata, such as tags, titles, authorship details, and descriptions, keeping everything organized and accessible. To access your Pieces Drive:

  1. Open your command palette (Ctrl+Shift+P or Cmd+Shift+P).
  2. Run the command: Pieces: Open Saved Material.
  3. Select the asset you wish to open from the list.

open saved materials

Generate Shareable Links

If you want to share a saved snippet with another developer (even if they don't have a Pieces account), you can.

Just select the code, right-click to open the context menu, and choose Pieces > Generate shareable link.

You can also share a saved snippet by opening it with Pieces: Open saved Material and clicking the Share button.

Connect with Pieces

Join our Discord

Become a part of our Discord community to stay updated and engage in discussions about our features.

Submit a Feature Request or Feedback

Have an idea for a new feature? Feel free to submit your suggestions on our GitHub support repo.

Tech Blogs

Stay connected and up-to-date with our latest blogs.

Plugins

Explore our collection of awesome Pieces plugins.