Pieces:
Artificial Intelligence-based extension for vs Code that gives you the ability to save code snippets with automatic classification, convert code screenshots to text and automatically save frequently used code based on coding patterns. The extension lets you manage all your saved code snippets and import them directly into the editor.
However, the real power of Pieces is revealed when you integrate other Pieces applications, such as the Chrome extension. With just VS Code and the Chrome extension, you can save a block of code on any web page, such as Stack Overflow, and import it directly into a VS Code file or import it using the Pieces autocomplete feature.