This extension helps to generate a project and commands quickly.
- First create a new project. Open the command palette and look for
cpp: generate a new console project
- In the command palette look for
cpp: generate a new command
, type a command name (for example: TestCommand) and type a description. - Make sure to add these files to
main.cpp
andCMakeLists.txt
so it can be properly compiled.