{"id":16960528,"url":"https://github.com/randomfractals/vscode-snippets-viewer","last_synced_at":"2025-04-11T22:10:52.754Z","repository":{"id":53012953,"uuid":"349140164","full_name":"RandomFractals/vscode-snippets-viewer","owner":"RandomFractals","description":"Snippets viewer for VSCode","archived":false,"fork":false,"pushed_at":"2023-04-16T14:08:30.000Z","size":4846,"stargazers_count":9,"open_issues_count":9,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T18:08:22.787Z","etag":null,"topics":["snippets","viewer","vscode"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.snippets-viewer","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RandomFractals.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["RandomFractals"],"ko_fi":"dataPixy"}},"created_at":"2021-03-18T16:17:12.000Z","updated_at":"2024-11-04T12:30:44.000Z","dependencies_parsed_at":"2025-02-20T06:32:27.741Z","dependency_job_id":"678b2dac-d550-4fbd-bb96-d8f6e1da5af7","html_url":"https://github.com/RandomFractals/vscode-snippets-viewer","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomFractals%2Fvscode-snippets-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomFractals%2Fvscode-snippets-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomFractals%2Fvscode-snippets-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomFractals%2Fvscode-snippets-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RandomFractals","download_url":"https://codeload.github.com/RandomFractals/vscode-snippets-viewer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487695,"owners_count":21112191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["snippets","viewer","vscode"],"created_at":"2024-10-13T22:49:06.950Z","updated_at":"2025-04-11T22:10:52.731Z","avatar_url":"https://github.com/RandomFractals.png","language":"TypeScript","funding_links":["https://github.com/sponsors/RandomFractals","https://ko-fi.com/dataPixy","https://ko-fi.com/dataPixy'","https://github.com/sponsors/RandomFractals/sponsorships?tier_id=18883\u0026preview=false"],"categories":[],"sub_categories":[],"readme":"# vscode-snippets-viewer\n\n[![GPL-3.0 License](https://img.shields.io/badge/license-GPL3-orange.svg?color=green)](http://opensource.org/licenses/GPL-3.0)\n[![Version](https://img.shields.io/visual-studio-marketplace/v/RandomFractalsInc.snippets-viewer.svg?color=orange\u0026style=?style=for-the-badge\u0026logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.snippets-viewer)\n[![Installs](https://img.shields.io/visual-studio-marketplace/i/RandomFractalsInc.snippets-viewer.svg?color=orange)](https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.snippets-viewer)\n[![Downloads](https://img.shields.io/visual-studio-marketplace/d/RandomFractalsInc.snippets-viewer.svg?color=orange)](https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.snippets-viewer)\n\u003ca href='https://ko-fi.com/dataPixy' target='_blank' title='support: https://ko-fi.com/dataPixy'\u003e\n  \u003cimg height='24' style='border:0px;height:20px;' src='https://az743702.vo.msecnd.net/cdn/kofi3.png?v=2' alt='https://ko-fi.com/dataPixy' /\u003e\u003c/a\u003e\n\u003chr /\u003e\n\u003ch1 align=\"center\"\u003e\n  \u003ca title=\"Learn more about Snippets Viewer\" href=\"https://github.com/RandomFractals/vscode-snippets-viewer\"\u003e\n    \u003cimg width=\"128\" height=\"128\" alt=\"Snippets Viewer\" src=\"images/snippets-viewer.png\" /\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n  Snippets Viewer ⇥ for VSCode\n\u003c/h1\u003e\n\n# Support\n\n[Snippets Viewer](https://github.com/RandomFractals/vscode-snippets-viewer) ⇥ was created to simplify navigation and preview of [code snippets](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_install-snippets-from-the-marketplace) from built-in [languages](https://marketplace.visualstudio.com/search?target=VSCode\u0026category=Programming%20Languages\u0026sortBy=Installs) and [extension snippets](https://marketplace.visualstudio.com/search?target=VSCode\u0026category=Snippets\u0026sortBy=Installs).\n\nPlease consider becoming a [Fan](https://github.com/sponsors/RandomFractals/sponsorships?tier_id=18883\u0026preview=false) and sponsoring our dev efforts on this and other [Random Fractals, Inc.](https://twitter.com/search?q=%23RandomFractalsInc\u0026src=typed_query\u0026f=live) code and [data viz extensions](https://marketplace.visualstudio.com/publishers/RandomFractalsInc) if you find them useful, educational, or enhancing your daily dataViz/dev code workflows:\n\n☕️ https://ko-fi.com/dataPixy\n💖 https://github.com/sponsors/RandomFractals\n\n# Snippets Viewer\n\n![Snippets Viewer Tree View](https://raw.githubusercontent.com/RandomFractals/vscode-snippets-viewer/main/images/snippets-viewer-tree-view.png)\n\n# Features\n\n- View [built-in](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_builtin-snippets) and [extension snippets](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_install-snippets-from-the-marketplace) grouped by language in the Snippets Tree View ⎇\n- View [user-defined](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_create-your-own-snippets) language snippets\n- View [project-scoped](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-scope) language snippets for workspaces with multiple folders\n- Combine language snippets without snippets file grouping display in the Snippets Tree View ⎇\n- Toggle [built-in](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_builtin-snippets) language extension snippets display\n- Skip language snippets option for the specified languages in extension settings\n- Expand snippet files on snippet language tree node expand\n- Auto-select and expand language snippets on active text editor change\n- Show only snippets for the active text editor language\n- See snippet prefix and shortcut keystrokes in the Snippets Tree View ⎇\n- View snippet description and preview snippet body in the Snippets Tree View ⎇ markdown tooltip\n- Insert a snippet from the Snippets Tree View ⎇ into the active code text editor\n- Open snippets file to view snippets JSON config\n- Go to the snippet definition in a snippet file\n- Sort snippets by definition order in a snippet file\n- Sort snippets by name\n- View Snippets Viewer settings\n\n# VSCode Contributions\n\nSnippets Viewer ⇥ extension Settings, Commands, and VSCode Views:\n\n![Snippets Viewer VSCode Feature Contributions](https://raw.githubusercontent.com/RandomFractals/vscode-snippets-viewer/main/images/snippets-viewer-contributions.png)\n\n# Installation\n\nInstall [Snippets Viewer ⇥](https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.snippets-viewer) via VSCode Extensions tab (`Ctrl+Shift+X`) by searching for `snippets viewer` || via [VSCode marketplace search results](https://marketplace.visualstudio.com/search?term=snippets%20viewer\u0026target=VSCode\u0026category=All%20categories\u0026sortBy=Relevance).\n\n![Snippets Viewer Installation](https://raw.githubusercontent.com/RandomFractals/vscode-snippets-viewer/main/images/snippets-viewer-installation.png)\n\n# Configuration\n\n[Create User or Workspace Settings in VSCode](http://code.visualstudio.com/docs/customization/userandworkspace#_creating-user-and-workspace-settings) to change default Snippets Viewer ⇥ extension Settings:\n\n![Snippets Viewer Settings](https://raw.githubusercontent.com/RandomFractals/vscode-snippets-viewer/main/images/snippets-viewer-settings.png)\n\n**Note**: All Snippets Viewer ⎇ Settings start with `snippets.viewer.` prefix.\nExample of [`.vscode/settings.json`](https://github.com/RandomFractals/vscode-snippets-viewer/blob/main/.vscode/settings.json) you can use to specify Snippets Viewer ⎇ Settings in open project Workspace to overwrite global User [settings](https://code.visualstudio.com/docs/getstarted/settings#_settingsjson) and toggle Snippets tree view display options listed below:\n\n```\n{\n  // Local Snippets viewer settings\n  \"snippets.viewer.sortSnippetsByName\": false,\n  \"snippets.viewer.combineLanguageSnippets\": true,\n  \"snippets.viewer.expandSnippetFiles\": true\n}\n```\n\n| Setting Name | Type | Default Value | Description |\n| ------- | ---- | ------------- | ----------- |\n| `combineLanguageSnippets` | boolean | `false` | Combine language snippets in the Snippets tree view.|\n| `expandSnippetFiles` | boolean | `false` | Expand snippet files on snippet language tree node expand in the Snippets tree view.|\n| `focusOnActiveEditorSnippets` | boolean | `false` | Focus on active editor snippets when Snippets tree view is visible. |\n| `showBuiltInExtensionSnippets` | boolean | `true` | Show built-in language extension snippets in the Snippets tree view. |\n| `showOnlyActiveEditorLanguageSnippets` | boolean | `false` | Show only active editor language snippets in the Snippets tree view. |\n| `skipLanguageSnippets` | string | | Comma delimited list of languages to skip snippets display in the Snippets tree view. |\n| `sortSnippetsByName` | boolean | `false` | Sort loaded snippets by name in Snippets tree view. |\n\n# Dev Build\n\nUse the following commands to build this Snippets Viewer VSCcode extension locally for debugging and submitting pull requests (PRs):\n\n```\n$ git clone https://github.com/RandomFractals/vscode-snippets-viewer\n$ cd vscode-snippets-viewer\n$ npm install\n$ code .\n```\n\nWatch for changes:\n\n```\n$ npm run-script watch\n```\n\nPress `F5` in VSCode to start Snippets Viewer extension debug session.\n\n# Contributions\n\nAny \u0026 all test, code || feedback contributions are welcome.\n\nOpen an issue || create a pull request to make this Snippets Viewer VSCode extension work better for all. 🤗\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandomfractals%2Fvscode-snippets-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frandomfractals%2Fvscode-snippets-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandomfractals%2Fvscode-snippets-viewer/lists"}