C++ Code Runner Button is a Visual Studio Code extension that streamlines your development workflow by adding a dedicated 'Run Code' button to Visual Studio Code. This button enables C++ developers to compile and run their code directly from the editor with a single click, eliminating the need to navigate through menus. Perfect for developers looking to enhance their productivity and simplify the process of testing their C++ applications.
- Adds a 'Run Code' button to the Visual Studio Code interface.
- Enables C++ developers to compile and run their code directly from the editor.
- Provides a seamless workflow for testing C++ applications.
You can install the extension locally in Visual Studio Code:
- Launch Visual Studio Code.
- Press
Ctrl+Shift+Xto open the Extensions view. - Click on the ellipsis (...) icon in the Extensions view and select "Install from VSIX...".
- Navigate to the location of the generated VSIX file and select it.
- Follow the prompts to complete the installation.
Note: This extension requires the Code Runner extension to be installed in Visual Studio Code. Make sure to install Code Runner from the Visual Studio Code Marketplace before using this extension.
If you prefer to build the extension from the source code yourself or want to customize it, follow these steps:
- Clone or download this repository to your local machine.
- Open the cloned/downloaded directory in Visual Studio Code.
- Open a terminal in Visual Studio Code.
- Run the following command to install dependencies:
npm install- After installing dependencies, you can build the extension by running:
vsce package- This command will generate a .vsix file in the root directory of your project, which you can install using the instructions above.
- Visual Studio Code version 1.0.0 or higher.
- None at the moment.
- Added 'Run Code' button to the Visual Studio Code interface.
- Basic functionality for compiling and running C++ code.
If you have any feedback, suggestions, or bug reports, feel free to open an issue on GitHub.
Contributions are welcome! If you'd like to contribute to the development of this extension, please fork the repository and submit a pull request.
Once installed, you can use the 'Run Code' button added to the interface to compile and run your C++ code directly from the editor.
- Visual Studio Code version 1.0.0 or higher.
- None at the moment.
- Added 'Run Code' button to the Visual Studio Code interface.
- Basic functionality for compiling and running C++ code.