Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Smart Create C++ Class
Smart Create C++ Class

Smart Create C++ Class

alexandru_pana

|
2,379 installs
| (1) | Free
Adds support for quickly creating C++ classes in the right place.
Download

Smart Create Class for C++

This extension allows the user to create c++ classes by using the context menu in the solution explorer. The classes are created in the folder represented by the filter hierarchy.

Usage

  1. Use the context menu to open up the class creation dialog. Contextual menu for adding classes

  2. Select the class template. Available templates are: cocos2d Node, empty class or empty files. Create class dialog

  3. The header / source files are generated in the correct directory and added to the solution. Result

Settings

To change the way the output path is calculated, you can use the settings window. It can be accessed via Tools > Smart Create Class Settings or via the Settings link in the Create Class window.

The settings window

The output path is calculated as follows:

  1. Use the skip filters count to trim the filter hierarchy. For example: using the hierarchy Source Files\CPP\Entities\Obstacles and a skip count of 2, the result is Entities\Obstacles
  2. Use the prefix hierarchy path with the trimmed hierarchy. For example: using the trimmed hierarchy Entities\Obstacles and the prefix Sources, the result is Sources\Entities\Obstacles
  3. The Solution Directory is concatenated with the previous prefixed and trimmed hierarchy path to create the final path.

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

[1.1.0] - 2016.01.02

  • Added support for empty header files.
  • The last selected template type now becomes the default.

[1.0.0] - 2016.01.01

  • Initial release.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft