Git Product home page Git Product logo

snippet-sync-vscode's Introduction

Snippet Sync for VS Code

If you need to share snippet files and keep them updated when they change, Snippet Sync is for you!

Snippet Sync allows your team to keep any GitHub-hosted snippet file up to date across repositories. Snippet Sync supports both public and private repositories.

Animation of downloading snippets

Features

  • Supports any repo hosted at github.com.
  • Sign in with your GitHub account to access snippets in private repos.
  • Sync automatically every 10 minutes, or sync manually whenever you want.
  • Keyboard shortcut for syncing (alt + shift + s).

Requirements

  • Snippet files must be hosted at github.com. Self-hosted repos not currently supported.
  • If a snippet file is in a private repo, you must sign in to GitHub by running Snippet Sync: Sign In to GitHub from the Command Palette.

Extension Settings

This extension contributes these settings:

  • snippetSync.snippetFiles: List of github-hosted snippet files. Must be the full path to the GitHub file view (not the raw content).
  • snippetSync.autoSyncSnippetFiles: Whether to automatically sync snippet files every 10 minutes.

Known Issues

  • Snippet files aren't currently validated. If the file exists, it's synced.
  • Only GitHub-hosted snippets are supported. Self-hosted git repos are not supported.

Release Notes

1.0.2

  • Add option to automatically sync snippets every 10 minutes. This option is enabled by default. To disable, set Auto Sync Snippet Files to false. (#17)
  • Add alt + shift + s keyboard shortcut for **Insert Snippet". (#19)
  • Add status bar item to show sync status. (#20)
  • Click status bar to show available commands. (#20)
  • Suppress success notifications (#20)

1.0.1

Update package.json for a better Marketplace listing.

1.0.0

Initial release ๐Ÿš€๐ŸŽ‰

snippet-sync-vscode's People

Contributors

imnotashrimp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.