Skip to content

Dan1579/cpp-code-runner-button

Repository files navigation

C++ Code Runner Button

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.

Features

  • 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.

Installation

You can install the extension locally in Visual Studio Code:

  1. Launch Visual Studio Code.
  2. Press Ctrl+Shift+X to open the Extensions view.
  3. Click on the ellipsis (...) icon in the Extensions view and select "Install from VSIX...".
  4. Navigate to the location of the generated VSIX file and select it.
  5. 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.

Building from Source

If you prefer to build the extension from the source code yourself or want to customize it, follow these steps:

  1. Clone or download this repository to your local machine.
  2. Open the cloned/downloaded directory in Visual Studio Code.
  3. Open a terminal in Visual Studio Code.
  4. Run the following command to install dependencies:
npm install
  1. After installing dependencies, you can build the extension by running:
vsce package
  1. This command will generate a .vsix file in the root directory of your project, which you can install using the instructions above.

Requirements

  • Visual Studio Code version 1.0.0 or higher.

Known Issues

  • None at the moment.

Release Notes

0.0.1 (Initial Release)

  • Added 'Run Code' button to the Visual Studio Code interface.
  • Basic functionality for compiling and running C++ code.

Feedback and Contributing

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.

Usage

Once installed, you can use the 'Run Code' button added to the interface to compile and run your C++ code directly from the editor.

Requirements

  • Visual Studio Code version 1.0.0 or higher.

Known Issues

  • None at the moment.

Release Notes

0.0.1 (Initial Release)

  • Added 'Run Code' button to the Visual Studio Code interface.
  • Basic functionality for compiling and running C++ code.

Feedback and Contributing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •