CPP Project Creator is a Visual Studio Code extension that allows you to easily create C++ projects with a build file and correct project structure. It simplifies the process of setting up a new C++ project by automating the creation of the necessary files and directories.
- Clone the repository:
git clone https://github.com/ruvn-1fgas/cpp_project_creator.git
- Install dependencies:
npm install
- Run the build package task:
vsce package
- Install the extension:
code --install-extension cpp-project-creator-0.9.9.vsix
or use Ctrl+Shift+P and selectExtensions: Install from VSIX...
- Open the folder where you want to create the project.
- Press Ctrl+Shift+P and select
Create C++ Project
. - Choose g++ option.
- Creates a
src
directory with amain.cpp
file inside. - Creates a
build.cmd
file that builds the project. - Creates a correct tasks and launch options in
.vscode
directory.
- Windows
- Visual Studio Code
- g++ compiler
If you encounter any issues while using this extension, please follow these steps to report them:
- Search the existing issues to see if someone else has already reported the same issue.
- If you can't find a solution, create a new issue by clicking on the "New Issue" button in the issue panel.
- Provide a clear and concise title and description of the issue, including any error messages or steps to reproduce the issue.
- Add any relevant labels or assignees to the issue.
- Submit the issue and wait for a response from the project maintainers.
If you have any issues with GDB, make sure that you have completed the following steps:
- Win+R -> intl.cpl
- Administrative tab
- Change system locale
- Enable Beta: Use Unicode UTF-8 for worldwide language support
- Restart PC