Skip to content
Sublime Text 2 plugin that will fetch snippets from Snipt.net
Branch: master
Clone or download
Pull request Compare This branch is 38 commits ahead of SublimeText:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Context.sublime-menu
Main.sublime-menu
README.md
Snipt.sublime-commands
Snipt.sublime-settings
snipt.py

README.md

#Snipt Snippet Fetcher Version 1.1

Description

Forked from Taecho/Sublime-Snipt

This Sublime Text 2 Plugin enables you to reach the snippets on Snipt.net

  • Browse and insert your own public and private snippets
  • Browse and insert your favorite snippets
  • Browse and insert public snippets from your friends (provide usernames in the settings)
  • Local cache for all snippets to improve access speed

Installation

Using Git

Go to your Sublime Text 2 Packages directory and clone the repository using the command below:

git clone https://github.com/SubZane/Sublime-Snipt.net

Download Manually

  • Download the files using the GitHub .zip download option
  • Unzip the files and rename the folder to Snipt.net Snippet Fetcher
  • Rename the folder to Snipt.net Snippet Fetcher (This is very important)
  • Copy the folder to your Sublime Text 2 Packages directory

Settings

Find the settings file in the menu: Sublime Text2 ~> Preferences ~> Package Settings ~> Snipt.net Snippet Fetcher ~> Settings

  • snipt_username This is your username on Snipt.net
  • snipt_apikey This is your API key on Snipt.net
  • snipt_other_users This is a comma delimted list of other usernames. This enables you to access other users snippets.

How to use

  • Launch the Command Palette using the menu (Tools->Command Palette...) or short key-command Shift+Cmd+P
  • Find the prefix Snipt Snippet Fetcher:
  • Snipt Snippet Fetcher: Cache All Snippets will cache all snippets locally in a json file.
  • Snipt Snippet Fetcher: Insert Private snippet will use the cached json file to help you insert your private snippets. This function will cache if no cache found.
  • Snipt Snippet Fetcher: Insert Favorite snippet will use the cached json file to help you insert your favorite snippets. This function will cache if no cache found.
  • Snipt Snippet Fetcher: Insert Public snippet will use the cached json file to help you insert your public snippets. This function will cache if no cache found.
  • Snipt Snippet Fetcher: Insert Other Users Snippets will use the cached json file to help you insert a public snippet from another user. This function will cache if no cache found.

To-do's

  • Ability to create new snippets

Authors

Twitter: Andreas Norman GitHub: SubZane

You can’t perform that action at this time.