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

Library generator

tilens6

| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Library Generator (VS Code Extension)

A simple VS Code extension that generates a C++ class module with a folder structure, header file, and source file based on user input.

Features

  • Creates a new module folder inside your workspace's include folder
  • Generates:
    • Header file (.h)
    • Source file (.cpp)
  • Prompts user for:
    • Folder name
    • Class name
  • Automatically formats names:
    • Class/file names → PascalCase (MyClass)
    • Folder name → snake_case (my_class or similar depending on configuration)
  • Inserts basic C++ boilerplate code

Usage

  1. Open a project in VS Code
  2. Press F1 (or Ctrl+Shift+P)
  3. Run command:
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft