{"id":13897257,"url":"https://github.com/stevearc/vim-vscode-snippets","last_synced_at":"2025-04-21T14:32:05.620Z","repository":{"id":139187219,"uuid":"333835468","full_name":"stevearc/vim-vscode-snippets","owner":"stevearc","description":"A collection of vscode snippets for vim","archived":false,"fork":false,"pushed_at":"2024-07-23T17:45:45.000Z","size":284,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T21:08:24.670Z","etag":null,"topics":["neovim","snippets","vim"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stevearc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2021-01-28T17:36:02.000Z","updated_at":"2024-12-15T19:59:09.000Z","dependencies_parsed_at":"2024-11-09T18:32:44.562Z","dependency_job_id":"49c99d8d-4707-4ea0-89f7-df86ddd9fe0e","html_url":"https://github.com/stevearc/vim-vscode-snippets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevearc%2Fvim-vscode-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevearc%2Fvim-vscode-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevearc%2Fvim-vscode-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevearc%2Fvim-vscode-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stevearc","download_url":"https://codeload.github.com/stevearc/vim-vscode-snippets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250070269,"owners_count":21369845,"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":["neovim","snippets","vim"],"created_at":"2024-08-06T18:03:27.803Z","updated_at":"2025-04-21T14:32:05.263Z","avatar_url":"https://github.com/stevearc.png","language":"Python","readme":"# vim-vscode-snippets\n\nA collection of vscode snippets for vim\n\nThe VSCode marketplace has a large number of extensions with code snippets\nincluded. These snippets are not available in a format that can be easily\ningested by vim snippet plugins (e.g.\n[vim-vsnip](https://github.com/hrsh7th/vim-vsnip) or\n[luasnip](https://github.com/L3MON4D3/LuaSnip)). This plugin is the missing link\nthat gathers together a collection of snippets from VSCode extensions for many\nlanguages. This repo contains _only_ the snippet files from those extensions.\n\nIf there is a language or extension missing, please\nsubmit a pull request with the missing extension (see\n[Contributing](#contributing) below).\n\n## Installation\n\nsupports all the usual plugin managers\n\n\u003cdetails\u003e\n  \u003csummary\u003ePacker\u003c/summary\u003e\n\n```lua\nrequire('packer').startup(function()\n    use {'stevearc/vim-vscode-snippets'}\nend)\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003ePaq\u003c/summary\u003e\n\n```lua\nrequire \"paq\" {\n    {'stevearc/vim-vscode-snippets'};\n}\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003evim-plug\u003c/summary\u003e\n\n```vim\nPlug 'stevearc/vim-vscode-snippets'\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003edein\u003c/summary\u003e\n\n```vim\ncall dein#add('stevearc/vim-vscode-snippets')\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003ePathogen\u003c/summary\u003e\n\n```sh\ngit clone --depth=1 https://github.com/stevearc/vim-vscode-snippets.git ~/.vim/bundle/\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eNeovim native package\u003c/summary\u003e\n\n```sh\ngit clone --depth=1 https://github.com/stevearc/vim-vscode-snippets.git \\\n  \"${XDG_DATA_HOME:-$HOME/.local/share}\"/nvim/site/pack/vim-vscode-snippets/start/vim-vscode-snippets\n```\n\n\u003c/details\u003e\n\n## Languages\n\n- c - [vscode-cpp-snippets](https://github.com/one-harsh/vscode-cpp-snippets.git)\n- cpp - [vscode-cpp-snippets](https://github.com/one-harsh/vscode-cpp-snippets.git)\n- csharp - [vscode-csharp-snippets](https://github.com/J0rgeSerran0/vscode-csharp-snippets.git), [vscode-unity-code-snippets](https://github.com/kleber-swf/vscode-unity-code-snippets.git)\n- erb - [vscode-ruby](https://github.com/rubyide/vscode-ruby.git)\n- go - [vscode-go](https://github.com/golang/vscode-go.git)\n- groovy - [vscode](https://github.com/microsoft/vscode.git)\n- html - [php-awesome-snippets](https://github.com/h4kst3r/php-awesome-snippets.git), [vscode-javascript](https://github.com/xabikos/vscode-javascript.git)\n- javascript - [vscode-standardjs-snippets](https://github.com/capaj/vscode-standardjs-snippets.git), [vscode-es7-javascript-react-snippets](https://github.com/dsznajder/vscode-es7-javascript-react-snippets.git), [vscode](https://github.com/microsoft/vscode.git), [vscode-javascript](https://github.com/xabikos/vscode-javascript.git)\n- lua - [vsc-lua](https://github.com/keyring/vsc-lua.git)\n- markdown - [vscode](https://github.com/microsoft/vscode.git)\n- php - [php-awesome-snippets](https://github.com/h4kst3r/php-awesome-snippets.git), [vscode](https://github.com/microsoft/vscode.git)\n- python - [vscode-python-snippet-pack](https://github.com/ylcnfrht/vscode-python-snippet-pack.git)\n- ruby - [vscode-ruby](https://github.com/rubyide/vscode-ruby.git)\n- rust - [vscode-rust](https://github.com/rust-lang/vscode-rust.git)\n- swift - [vscode](https://github.com/microsoft/vscode.git)\n- typescript - [vscode-standardjs-snippets](https://github.com/capaj/vscode-standardjs-snippets.git), [vscode-es7-javascript-react-snippets](https://github.com/dsznajder/vscode-es7-javascript-react-snippets.git), [vscode](https://github.com/microsoft/vscode.git), [vscode-javascript](https://github.com/xabikos/vscode-javascript.git)\n- vb - [vscode](https://github.com/microsoft/vscode.git)\n- vue - [vscode-javascript](https://github.com/xabikos/vscode-javascript.git)\n\n## Contributing\n\nAll snippets are generated programmatically. To add new extensions:\n\n- Edit `sources.json`\n- Run the `build.py` script (requires `pip install json5`)\n- Open a pull request\n\n## License\n\nThe build script and all other code unique to this repository are under the MIT\nlicense (see LICENSE file). All snippets are under the specific license of their\nsource repository. Each of these is in a subdirectory under `snippets/`, and\ntheir applicable license(s) are present in that subdirectory.\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevearc%2Fvim-vscode-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevearc%2Fvim-vscode-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevearc%2Fvim-vscode-snippets/lists"}