C/C++ Generator
A VSCode extension to quickly generate C/C++ project scaffolds from templates.
Features
- 📁 Generate C/C++ projects from templates
- 🔧 Template variable substitution
- 🎯 Automatic directory structure creation
- 📂 Open generated project in new window
How to Use
- Install this extension
- Run the
cc: create command via shortcut or command palette
Template Variables
The following variables are supported in template files:
| Variable |
Description |
{{ projectName }} |
Project name |
{{ author }} |
Author name (from settings) |
{{ email }} |
Email address (from settings) |
{{ year }} |
Current year |
Configuration Options
| Option |
Type |
Default |
Description |
cc.author |
string |
"" |
Set the name of the author |
cc.email |
string |
"" |
Set the e-mail address |
Commands
| Command |
Description |
cc.create |
Generate a new C/C++ application/library from template |
cc.add |
Generate a new C/C++ library from template |
License
MIT Copyright (c) 2026 Soron Liu
| |