Git Product home page Git Product logo

thaker0503 / c-make-folder-extension Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 47 KB

C-Make Folder Creator prompts users for a file name, generating both folder and file with a .cpp extension. Developers can easily customize file content and execute terminal commands, enhancing productivity and workflow automation. This user-friendly tool simplifies project management, allowing developers to focus on coding.

License: MIT License

TypeScript 71.40% JavaScript 28.60%

c-make-folder-extension's Introduction

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

  1. Open a Folder: Open a folder in Visual Studio Code where you want to create the new folder and file.

  2. 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.
  3. 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.
  4. File Content:

    • The created file will contain a basic C++ template:
    #include <iostream>
    
    int main() {
        std::cout << "Hello, World!" << std::endl;
        return 0;
    }
  5. Terminal Command (Optional):

    • After the folder and file are successfully created, you can specify a terminal command to run.
    • Modify the extension.ts file to add your desired terminal command.

Installation

  1. Launch Visual Studio Code.
  2. Go to Extensions (or press Ctrl + Shift + X).
  3. Search for "Folder Creator" and click Install.

Contributing

If you find any issues with the extension or have suggestions for improvements, please feel free to create a new issue on GitHub.

License

This extension is licensed under the MIT License.


Happy coding! ๐Ÿš€

c-make-folder-extension's People

Contributors

thaker0503 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.