C Make Folder Creator Extension for Visual Studio Code
The C Make Folder Creator extension for Visual Studio Code allows developers to create a new folder with a specified file inside. It prompts the user for a file name, and it automatically creates a folder and a corresponding file with the provided name inside the opened workspace. This extension is helpful for quickly setting up project structures or creating new files without manually creating folders and files.
Features
Prompt user for a file name (without extension).
Automatically create a folder and a file with the specified name inside the opened workspace.
File is created with a .cpp extension.
Ability to customize the initial content of the created file.
How to Use
Open a Folder: Open a folder in Visual Studio Code where you want to create the new folder and file.
Run the Command:
Press Ctrl + Shift + P (or Cmd + Shift + P on macOS) to open the Command Palette.
Type Create Folder with Files and select the command to run.
Enter File Name:
You will be prompted to enter a file name (without extension).
The extension will create a folder and a file named {filename}.cpp inside the opened workspace.
File Content:
The created file will contain a basic C++ template: