Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Code SnipNew to Visual Studio Code? Get it now.
Code Snip

Code Snip

Venkata Sri Harsha Maddirala

|
207 installs
| (0) | Free
An extention that can be used to save code snippets with remote saves using MongoDB.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Code Snippet Saver

Overview

Code Snippet Saver is a Visual Studio Code extension that allows you to save and retrieve code snippets using a web API. This extension is perfect for developers who want to store frequently used code snippets and easily access them across different projects.

Features

  • Save code snippets to a web API.
  • Retrieve code snippets based on your email.
  • View and copy your saved code snippets.
  • Simple setup for user email.

Installation

  1. Install the extension from the Visual Studio Code Marketplace.
  2. Open the command palette (Ctrl+Shift+P or Cmd+Shift+P on Mac).
  3. Search for CodeSnip: Setup Email and enter your email to configure the extension.

Usage

Saving a Code Snippet

  1. Highlight the code you want to save.
  2. Open the command palette (Ctrl+Shift+P or Cmd+Shift+P on Mac).
  3. Search for CodeSnip: Save Snippet.
  4. The highlighted code will be saved to the web API associated with your email.

Retrieving Code Snippets

  1. Open the command palette (Ctrl+Shift+P or Cmd+Shift+P on Mac).
  2. Search for CodeSnip: Retrieve Snippets.
  3. A new panel will open showing your saved snippets.
  4. You can copy any snippet by clicking the Copy button.

Setting Up Your Email

  1. Open the command palette (Ctrl+Shift+P or Cmd+Shift+P on Mac).
  2. Search for CodeSnip: Setup Email.
  3. Enter your email to configure the extension.

Commands

  • CodeSnip: Setup Email: Configures your email for saving and retrieving snippets.
  • CodeSnip: Save Snippet: Saves the selected code snippet.
  • CodeSnip: Retrieve Snippets: Opens a panel to view and copy saved snippets.

Example

Saving a Snippet

  1. Select the code you want to save:

    function greet() {
        console.log('Hello, world!');
    }
    
  2. Run the command CodeSnip: Save Snippet.

Retrieving Snippets

  1. Run the command CodeSnip: Retrieve Snippets.

  2. The snippets panel displays:

    12:30 PM              [Copy]
    function greet() {
        console.log('Hello, world!');
    }
    

Contributing

If you want to contribute to this extension, please fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT License.

Support

For any issues or feature requests, please open an issue on the GitHub repository.

Acknowledgements

This extension was inspired by the need for an efficient way to manage and access frequently used code snippets. Special thanks to the open-source community for providing valuable resources and tools.


Enjoy using Code CodeSnip! If you have any questions or feedback, feel free to reach out.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft