{"id":18688200,"url":"https://github.com/programmershri/c-cpp-code-snippets-for-vs-code-extension-marketplace","last_synced_at":"2026-01-23T09:38:52.346Z","repository":{"id":107889659,"uuid":"382570023","full_name":"ProgrammerShri/C-Cpp-Code-Snippets-For-VS-Code-Extension-Marketplace","owner":"ProgrammerShri","description":"Open for Contribution For Download This Extension Link Below or Just Type \"programmershri.cppsnippets\" in vs code extension search box","archived":false,"fork":false,"pushed_at":"2021-07-11T12:46:23.000Z","size":185,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-18T20:07:13.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=ProgrammerShri.cppsnippets","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/ProgrammerShri.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-07-03T08:57:03.000Z","updated_at":"2021-07-11T12:46:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"db2e08db-c876-4b18-ba35-f2bf39a800c4","html_url":"https://github.com/ProgrammerShri/C-Cpp-Code-Snippets-For-VS-Code-Extension-Marketplace","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ProgrammerShri/C-Cpp-Code-Snippets-For-VS-Code-Extension-Marketplace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerShri%2FC-Cpp-Code-Snippets-For-VS-Code-Extension-Marketplace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerShri%2FC-Cpp-Code-Snippets-For-VS-Code-Extension-Marketplace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerShri%2FC-Cpp-Code-Snippets-For-VS-Code-Extension-Marketplace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerShri%2FC-Cpp-Code-Snippets-For-VS-Code-Extension-Marketplace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProgrammerShri","download_url":"https://codeload.github.com/ProgrammerShri/C-Cpp-Code-Snippets-For-VS-Code-Extension-Marketplace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerShri%2FC-Cpp-Code-Snippets-For-VS-Code-Extension-Marketplace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28686713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-07T10:35:56.011Z","updated_at":"2026-01-23T09:38:52.317Z","avatar_url":"https://github.com/ProgrammerShri.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# C/C++ Snippets\n\nThis extension for Visual Studio Code adds snippets for C/C++.\n\n## Usage\n\nType a part of the keywords in snippet e.g., \"cppf\" and press enter.\n\n```cppf\n// Creates a Snippets\nLike : just type cppf\n\n#include \u003cbits/stdc++.h\u003e\nusing namespace std;\nint main() {\n\n\n\n    return 0;\n}\n```\n\n## How To USE This Snippet\n\nCheck Out This Video : https://www.youtube.com/watch?v=fZsXKVZzf8w\n\n\n\n## Installation\n\n1. Install Visual Studio Code 0.10.1 or higher\n2. Launch VS Code\n3. From the command palette `Ctrl`+`Shift`+`P` (Windows, Linux) or `Cmd`+`Shift`+`P` (OSX)\n4. Type `ext install ProgrammerShri.cppsnippets` or just simply select `Install Extension`\n5. Choose the extension - Cpp Snippets\n6. Relaunch VS Code\n\n#######################################################################################################\n#######################################################################################################\n\n## Snippets\n\n### C Snippets\n\n| Snippet      | Description                         |\n| ------------ | ----------------------------------- |\n| `ccf`        | snippet for competitive programming |\n| `#def`       | snippet for #define                 |\n| `#ifdef`     | snippet for #if                     |\n| `#ifndef`    | snippet for #ifndef                 |\n| `#inc`       | snippet for #include                |\n| `case`       | snippet for case (...)              |\n| `do`         | snippet for a do...while loop       |\n| `else`       | snippet for else                    |\n| `else if`    | snippet for else-if                 |\n| `enum`       | snippet for an enum declaration     |\n| `fileheader` | snippet for a file header           |\n| `for`        | snippet for a for loop              |\n| `if`         | snippet for an if statement         |\n| `main`       | snippet for a main function         |\n| `struct`     | snippet for a struct declaration    |\n| `switch`     | snippet for a switch statement      |\n| `union`      | snippet for a union declaration     |\n| `while`      | snippet for a while loop            |\n\n### C++ Snippets\n\n| Snippet         | Description                             |\n| --------------- | --------------------------------------- |\n| `cppf`          | snippet for competitive programming     |\n| `#def`          | snippet for #def                        |\n| `#ifdef`        | snippet for #if                         |\n| `#ifndef`       | snippet for #ifndef                     |\n| `#inc`          | snippet for #include                    |\n| `case`          | snippet for case (...)                  |\n| `class`         | snippet for a class declaration         |\n| `class inherit` | snippet for a class-inherit declaration |\n| `do`            | snippet for a do...while loop           |\n| `else`          | snippet for else                        |\n| `else if`       | snippet for else-if                     |\n| `enum`          | snippet for an enum declaration         |\n| `fileheader`    | snippet for a file header               |\n| `for`           | snippet for a for loop                  |\n| `foreach`       | snippet for a for-auto loop             |\n| `if`            | snippet for an if statement             |\n| `main`          | snippet for a main function declaration |\n| `namespace`     | undefined                               |\n| `struct`        | snippet for a struct declaration        |\n| `switch`        | snippet for a switch statement          |\n| `template`      | snippet for a template                  |\n| `try`           | snippet for a try-catch block           |\n| `union`         | snippet for a union declaration         |\n| `using`         | snippet for using namespace             |\n| `while`         | snippet for a while loop                |\n\n## What Next ?\n\nSimple Snippets For Including Header Libraries (Comming Soon...)\nSuggest Keys (Suggestions are Welcome)\n\n## Recommendations\n\nIn order to give you a perfect plugin experience and avoid conflict with C/C++ Microsoft edition's snippet,\nI recommend you turn off C/C++ Microsoft edition's snippet. Details can be find in the below.\n\nSettings/Extensions/ C or C++/ C_CPP:Suggest Snippets\n\n## Suggestions for improvement are welcome\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrammershri%2Fc-cpp-code-snippets-for-vs-code-extension-marketplace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogrammershri%2Fc-cpp-code-snippets-for-vs-code-extension-marketplace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrammershri%2Fc-cpp-code-snippets-for-vs-code-extension-marketplace/lists"}