Skip to content

Getting Started

This guide will help you get started with SnipHub in your VS Code environment.

Installation

  1. Open VS Code
  2. Go to the Extensions view (Ctrl+Shift+X)
  3. Search for "SnipHub"
  4. Click Install
  5. Reload VS Code when prompted

Basic Usage

Saving a Snippet

  1. Select the code you want to save
  2. Right-click and select "Save as Snippet"
  3. Enter a name and optional description
  4. Choose or create a category
  5. Set a prefix for quick access (optional)
  6. Click Save

Using Snippets

  1. Start typing the snippet prefix in your editor
  2. Press Tab to insert the snippet
  3. Use Tab to navigate through any placeholders

Managing Snippets

  1. Click the SnipHub icon in the activity bar
  2. Browse your snippets by category
  3. Edit, delete, or create new snippets
  4. Use the search bar to find specific snippets

Released under the MIT License.