Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>cpp-project-generatorNew to Visual Studio Code? Get it now.
cpp-project-generator

cpp-project-generator

Ilia Kulakov

|
1 install
| (0) | Free
Generates a configured C++ project scaffold
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

cpp-project-generator

Yet another C++ project generator — a VS Code extension that scaffolds a ready-to-build C++ project with a single command.

What you get

  • CMake project: library (src/, include/) + executable + gtest test wired to ctest
  • Dependencies via vcpkg manifest (vcpkg.json), toolchain wired through CMakePresets.json ($env{VCPKG_ROOT}, no absolute paths)
  • clangd + clang-format + ClangTidy configuration
  • VS Code tasks (configure / build / test) and an LLDB launch config

Usage

  1. Command Palette → C++ Gen: New Project
  2. Answer two questions: project name, C++ standard (17/20/23)
  3. Pick a parent folder — the project opens in a new window and configures on open

Requirements: CMake ≥ 3.21, vcpkg (VCPKG_ROOT environment variable), clangd, plus the CMake Tools / clangd / vscode-lldb extensions.

Development

npm install
npm run watch    # rebuild on save
# then F5 → Extension Development Host

Credits

The MultiStepInput helper is derived from microsoft/vscode-extension-samples (MIT License).

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft