Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CodePocket SnippetsNew to Visual Studio Code? Get it now.
CodePocket Snippets

CodePocket Snippets

Reiniel

|
1 install
| (0) | Free
Access CodePocket snippets from VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CodePocket Snippets

CodePocket Snippets lets you browse and insert snippets from your CodePocket account directly inside VS Code.
Manage your snippets on the web app, then quickly drop them into any file with a single command.

Website: (CodePocket dashboard)

Features

  • Fetches your snippets from the CodePocket API using your personal API key.
  • Shows snippets in a VS Code Quick Pick (title, language, description).
  • Inserts the selected snippet at the current cursor position in the active editor.
  • Works with any language/file type.

Requirements

  • A CodePocket account on https://reiniel.vercel.app.
  • Your CodePocket API key from your profile/settings page.
  • The CodePocket API must be accessible from VS Code.
    • Default base URL: http://localhost:3000 (if you run the app locally).
    • You can change this to your deployed URL (for example https://codepocket.reiniel.vercel.app).

Extension Settings

This extension contributes the following settings:

  • codepocket.apiBaseUrl
    Base URL of the CodePocket API.
    Example: http://localhost:3000 or your deployed URL.

  • codepocket.apiKey
    API key from your CodePocket profile.
    This key is sent as the x-api-key header when calling the API.

How to Use

  1. Install the CodePocket Snippets extension.
  2. Open VS Code Settings and search for “CodePocket”.
  3. Set:
    • CodePocket: Api Base Url
    • CodePocket: Api Key
  4. Open any file where you want to insert code.
  5. Run the command “CodePocket: Insert Snippet” from the Command Palette.
  6. Pick a snippet from the list; its code will be inserted at the cursor.

Known Issues

  • If the API URL or key is invalid, the command will show an error notification.
  • Snippets are not yet filtered by language based on the current file (planned).

Release Notes

0.0.1

  • Initial release.
  • Fetch and insert snippets from CodePocket via CodePocket: Insert Snippet.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft