C++ Runner Malay
C++ Runner Malay is a simple Visual Studio Code extension to compile and run C++ files directly from the editor.
Features
- Adds a "Run C++ Malay" button in the status bar.
- Compiles and runs the active C++ file in the editor using
g++ .
Requirements
- Make sure you have
g++ installed and added to your system's PATH.
Installation
From VSIX
Package the Extension:
- Open a terminal and navigate to the extension folder
cpp-runner-malay .
- Run the following command to package the extension:
vsce package
- This will create a
.vsix file in the extension folder.
Install the Extension:
- Open Visual Studio Code.
- Press
Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (Mac) to open the Extensions view.
- Click on the "..." menu at the top-right corner of the Extensions view and select "Install from VSIX...".
- Navigate to the
.vsix file you generated and select it.
- Click "Install" to install the extension.
Usage
- Open a C++ file in Visual Studio Code.
- You should see a "Run C++ Malay" button in the status bar at the bottom.
- Click the "Run C++ Malay" button to compile and run your C++ code.
Development
Prerequisites
| |