{"id":19563410,"url":"https://github.com/amir9480/vscode-cpp-helper","last_synced_at":"2025-04-05T23:08:29.098Z","repository":{"id":42560996,"uuid":"243799632","full_name":"amir9480/vscode-cpp-helper","owner":"amir9480","description":"vscode extension to create implementation for c++ function prototypes.","archived":false,"fork":false,"pushed_at":"2024-06-16T11:02:56.000Z","size":1734,"stargazers_count":386,"open_issues_count":31,"forks_count":34,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T21:09:04.090Z","etag":null,"topics":["code-generation","cplusplus","typescript","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=amiralizadeh9480.cpp-helper","language":"TypeScript","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/amir9480.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":{"custom":"https://github.com/amir9480/amir9480/blob/master/donation.md"}},"created_at":"2020-02-28T15:56:56.000Z","updated_at":"2025-03-21T17:25:30.000Z","dependencies_parsed_at":"2024-12-15T16:03:39.562Z","dependency_job_id":"136a3562-6fcc-42a8-9265-65a55c7cc82f","html_url":"https://github.com/amir9480/vscode-cpp-helper","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amir9480%2Fvscode-cpp-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amir9480%2Fvscode-cpp-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amir9480%2Fvscode-cpp-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amir9480%2Fvscode-cpp-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amir9480","download_url":"https://codeload.github.com/amir9480/vscode-cpp-helper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411234,"owners_count":20934653,"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":["code-generation","cplusplus","typescript","vscode","vscode-extension"],"created_at":"2024-11-11T05:17:42.958Z","updated_at":"2025-04-05T23:08:29.067Z","avatar_url":"https://github.com/amir9480.png","language":"TypeScript","funding_links":["https://github.com/amir9480/amir9480/blob/master/donation.md"],"categories":[],"sub_categories":[],"readme":"# C++ Helper\n\n![Screen Shot](/images/screenshot.gif)\nC++ Helper extension for [VSCode](https://code.visualstudio.com/).\n\n## Features\n* Generating implementation for c++ declarations.\n* Generating header guard for headers.\n\n## Configuration\n\n### CppHelper.SourcePattern:\nThe array of possible patterns to find the source of a header file.\n\nExample:\n```json\n\"CppHelper.SourcePattern\": [\n    \"{FILE}.cpp\",\n    \"{FILE}.c\",\n    \"{FILE}.inl\",\n    \"/src/{FILE}.cpp\"\n]\n```\nWhere {FILE} is your active header file name.\n\u003e If you don't want a relative pattern then put a `/` as first character.\n\n### CppHelper.HeaderGuardPattern:\nThe pattern of header guard.\nExample:\n```json\n\"CppHelper.HeaderGuardPattern\": \"{FILE}_H\"\n```\nWhere {FILE} is your active header file name in UPPERCASE format.\n\n### CppHelper.ContextCreateImplementation\nShow or hide \"Create Implementation\" in context menu.\n\n### CppHelper.ContextCreateImplementationHere\nShow or hide \"Create Implementation Here\" in context menu.\n\n### CppHelper.ContextCopyImplementation\nShow or hide \"Copy Implementation\" in context menu.\n\n### CppHelper.ContextCreateHeaderGuard\nShow or hide \"Create Header Guard\" in context menu.\n\n### CppHelper.SourceNotFoundBehavior\nWhat happen if source file of a header file not found.\n* Implement in same file\n* Create source file\n* Show error\n* Do nothing\n\n### CppHelper.FindReplaceStrings\nPairs of strings to find/replace within the path\n\nExample:\n```json\n\"CppHelper.FindReplaceStrings\": [\n    {\n        \"find\": \"/include/Public\",\n        \"replace\": \"/src/Private\"\n    }\n],\n```\nAbove configuration will replace all `/include/Public` in your path to `/src/Private` when trying to find source code of header file.\nYou can also use regular expressions.\n```json\n\"CppHelper.FindReplaceStrings\": [\n    {\n        \"find\": \"/include/Public/([^\\\\/]+)\",\n        \"replace\": \"/src/Private/$1\"\n    }\n],\n```\n\n## Known Issues\nIf you implement a previously implemented function duplicate implementation will happen.\n\nThis extension created using regex and there is no parser/compiler.\nso any wrong implementation may happen.\nIf you found any wrong implementation please let me know in [issues](https://github.com/amir9480/vscode-cpp-helper/issues) and also don't forget to send your code sample.\n\n## Change Log\n\n### 0.3.3\nAdd new `CppHelper.FindReplaceStrings` configuration (#70)\n\n### 0.3.1\n* Bug fixes (#49, #47, #41)\n\n### 0.3.0\n* Add functions and classes attributes support.\n* Fix default parameter with parentheses bug (#35).\n* Fix trailing parameters comment issue (#31).\n\n### 0.2.1\n* Fix code indent bug when EOL was `LF`.\n* Fix member `operator +`, `operator -` bug.\n* Cast operator support added.\n\n### 0.2.0\n* Fix bugs (#12, #13).\n* `Copy Implementation` to clipboard command added (#11).\n* Create source file if not found (#14).\n* Improved order of implementation.\n\n### 0.1.0\n* Add `Create Implementation Here` command. (#7)\n* Add setting to hide context menu items.\n\n### 0.0.7\n* Bug #5 fixed.\n\n### 0.0.6\n* Bug #4 fixed.\n\n### 0.0.5\n* Fix bug in Linux. (#1, #2)\n\n### 0.0.4\n* Argument with default value implementation bug fixed.\n* Class template specialization support added.\n* Regex to find previous implementation improved.\n* Bug with `operator()` fixed.\n* `SourcePattern` configuration bug fixed.\n\n### 0.0.3\n* Keeping the order of implementations synced to declarations as much as possible.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famir9480%2Fvscode-cpp-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famir9480%2Fvscode-cpp-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famir9480%2Fvscode-cpp-helper/lists"}