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

SnippetsLab

virgilsisoe

|
769 installs
| (0) | Free
SnippetsLab vscode integration
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SnippetsLab

Unofficial SnippetsLab integration for VS Code.

Description

Access your SnippetsLab snippets directly in VSCode and enjoy full compatibility with native VSCode snippet syntax.

Requirements

  • The extensions needs the path of your SnippetsLab backup folder. By default, it is ~/Library/Containers/com.renfei.SnippetsLab/Data/Library/Application Support/Backups. You can change it in the extension settings.

Technically, SnippetsLab is a macOS app, but nothing prevents you from using the extension on Windows or Linux. You just need to share your SnippetsLab library with another device (cloud drive, git, etc.), and then configure the extension to use the new path.

Usage

Simply open the command palette and run the SnippetsLab: Show All Snippets or SnippetsLab: Show Language Snippets command for language specific snippets.

demo

Ignore Snippets

You can ignore snippets by adding the vscode-ignore tag to the snippet in SnippetsLab.

Available Commands

Command Name Command ID Description
Show All Snippets snippetslab.showAllSnippets Show all snippets
Show Language Snippets snippetslab.showLanguageSnippets Show snippets for the current language
  • By default, the extension does not provide any shortcut. But you can assign each command to one. (see Key Bindings for Visual Studio Code for more information).

Example keybindings.json :

[
    {
        "key": "alt+shift+s",
        "command": "snippetslab.showAllSnippets"
    },
    {
        "key": "ctrl+alt+s",
        "command": "snippetslab.showLanguageSnippets"
    },
]

Configuration

  • snippetslab.backupFolder: Path to your SnippetsLab backup library. Default: ~/Library/Containers/com.renfei.SnippetsLab/Data/Library/Application Support/Backups

  • snippetslab.searchSnippetsByDescription: Search snippets by description. Default: true

  • snippetslab.searchSnippetsByDetails: Search snippets by details. Default: true

  • snippetslab.copySnippetToClipboard: Copy snippet to clipboard. Default: false

Notes

The extension uses the latest backup of your SnippetsLab library. If you don't see your latest snippets, please back up your library and restart VS Code.

Demo

Alt text

On Windows: windows

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