{"id":16330386,"url":"https://github.com/robertoachar/vscode-essentials-snippets","last_synced_at":"2025-10-05T19:18:29.655Z","repository":{"id":110401116,"uuid":"86390421","full_name":"robertoachar/vscode-essentials-snippets","owner":"robertoachar","description":"A collection of essentials snippets for Visual Studio Code.","archived":false,"fork":false,"pushed_at":"2018-07-13T17:42:40.000Z","size":615,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T09:43:28.898Z","etag":null,"topics":["vscode","vscode-extension","vscode-snippets"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=robertoachar.vscode-essentials-snippets","language":null,"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/robertoachar.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-03-27T22:33:18.000Z","updated_at":"2023-03-01T16:32:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b67cd5d-6694-4b1c-833c-03bc10a6904b","html_url":"https://github.com/robertoachar/vscode-essentials-snippets","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/robertoachar/vscode-essentials-snippets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertoachar%2Fvscode-essentials-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertoachar%2Fvscode-essentials-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertoachar%2Fvscode-essentials-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertoachar%2Fvscode-essentials-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertoachar","download_url":"https://codeload.github.com/robertoachar/vscode-essentials-snippets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertoachar%2Fvscode-essentials-snippets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278505065,"owners_count":25998061,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["vscode","vscode-extension","vscode-snippets"],"created_at":"2024-10-10T23:19:08.597Z","updated_at":"2025-10-05T19:18:29.614Z","avatar_url":"https://github.com/robertoachar.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# VSCode Essentials Snippets\n\n\u003e A collection of essentials snippets for Visual Studio Code.\n\n![Preview](images/preview.gif)\n\n# Installation\n\n1. Install [Visual Studio Code](https://code.visualstudio.com/)\n2. Launch Visual Studio Code\n3. Choose **Extensions** from menu\n4. Search for `vscode-essentials-snippets`\n5. Click **Install** to install it\n6. Click **Reload** to reload the Code\n\n# Usage\n\nType part of a snippet, press `enter` and the snippet unfolds. For snippets in markdown format you need to press `ctrl+space` (Windows / Linux) or `cmd+space` (OSX).\n\n## Angular snippets\n\n### TypeScript snippets\n\n| Snippet | Content |\n| ------- | ------- |\n| `ng-class` | Angular Class |\n| `ng-component` | Angular Component |\n| `ng-component-input` | Angular Component with Input |\n| `ng-directive` | Angular Directive |\n| `ng-enum` | Angular Enum |\n| `ng-guard` | Angular Guard |\n| `ng-interface` | Angular Interface |\n| `ng-module` | Angular Module |\n| `ng-pipe` | Angular Pipe |\n| `ng-service` | Angular Service |\n\n### RxJS Snippets\n\n| Snippet | Content |\n| ------- | ------- |\n| `rx-extensions` | RxJS Extensions import |\n| `rx-observable` | RxJS Observable import |\n| `rx-subject` | RxJS Subject import |\n| `rx-subject-behavior` | RxJS BehaviorSubject import |\n| `rx-subject-replay` | RxJS ReplaySubject import |\n| `rx-add-observable` | RxJS add observable import |\n| `rx-add-operator` | RxJS add operator import |\n\n### HTML snipppets\n\n| Snippet | Content |\n| ------- | ------- |\n| `ng-ngFor` | Angular *ngFor |\n| `ng-ngIf` | Angular *ngIf |\n| `ng-ngModel` | Angular ngModel |\n| `ng-routerLink` | Angular routerLink |\n| `ng-routerLink-param` | Angular routerLink with a route parameter |\n| `ng-select` | select control with ngModel |\n| `ng-pre` | Angular pre with json |\n\n## Continuous Integration snippets\n\n| Snippet | Content |\n| ------- | ------- |\n| `ci-appveyor` | AppVeyor configuration file |\n| `ci-circle` | Circle configuration file |\n| `ci-travis` | Travis configuration file |\n\n## Git snippets\n\n| Snippet | Content |\n| ------- | ------- |\n| `gitattributes` | .gitattributes file with eol=lf |\n| `gitattributes-archives` | Set archives as binary |\n| `gitattributes-documents` | Set documents as binary |\n| `gitattributes-executables` | Set executables as binary |\n| `gitattributes-fonts` | Set fonts as binary |\n| `gitattributes-graphics` | Set graphics as binary |\n| `CHANGELOG` | A CHANGELOG.md template |\n| `README` | A README.md template |\n\n## Lint snippets\n\n| Snippet | Content |\n| ------- | ------- |\n| `eslint` | ESLint configuration file |\n| `eslintignore` | ESLint ignore file |\n\n## Project snippets\n\n| Snippet | Content |\n| ------- | ------- |\n| `editorconfig` | EditorConfig file |\n| `npmrc` | npm configuration file |\n| `package` | package.json file |\n\n# Development\n\n## Install dependencies\n\n1. Install [Node.js](https://nodejs.org/) and [npm](https://www.npmjs.com/)\n2. Install [Visual Studio Code](https://code.visualstudio.com/)\n\n## Run\n\nClone the repo\n\n```bash\n$ git clone https://github.com/robertoachar/vscode-essentials-snippets.git\n```\n\nInstall vsce\n\n```bash\n$ npm install -g vsce\n```\n\nBuild the extension file\n\n```bash\n$ vsce package\n\n# or\n\n$ npm run build\n```\n\nInstall the extension from a package file (.vsix)\n\n1. Launch Visual Studio Code\n2. Choose **Extensions** from menu\n3. Click **More** \u003e **Install from VSIX...**\n4. Select the file `vscode-essentials-snippets-x.x.x.vsix`\n6. Click **Reload Now** to reload the Code\n\n## Publish\n\nInstall vsce\n\n```bash\n$ npm install -g vsce\n```\n\nCreate a publisher\n\n```bash\n$ vsce create-publisher \u003cpublisher-name\u003e\n```\n\nLogin\n\n```bash\n$ vsce login \u003cpublisher-name\u003e\n```\n\nPublish\n\n```bash\n$ vsce publish\n```\n\nFor more detailed information about publish: [Publishing Extensions](https://code.visualstudio.com/docs/extensions/publish-extension).\n\n# Author\n\n[Roberto Achar](https://twitter.com/RobertoAchar)\n\n# License\n\n[MIT](https://github.com/robertoachar/vscode-essentials-snippets/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertoachar%2Fvscode-essentials-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertoachar%2Fvscode-essentials-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertoachar%2Fvscode-essentials-snippets/lists"}