A simple, fast, and powerful VS Code extension that allows you to run C code files directly from the context menu with a single click. No configuration needed!
✨ Features
Right-click and Run: Run C code files directly from the context menu in the Explorer or Editor
Keyboard Shortcut: Press Ctrl+Shift+B (or Cmd+Shift+B on Mac) to instantly compile and run the current C file
Smart Compilation: Automatically compiles your C code before execution
Terminal Integration: Shows the output directly in a dedicated terminal window
Auto-save: Automatically saves your file before compilation if there are unsaved changes
📋 Requirements
You must have gcc compiler installed and available in your system PATH
Compatible with Windows, macOS, and Linux
🚀 How to Use
Method 1: Right-click Menu
Right-click on any C file in the Explorer or Editor
Select "Run C Code" from the context menu
The file will be compiled and executed in a new terminal window
Method 2: Keyboard Shortcut
Open a C file in the editor
Press Ctrl+Shift+B (or Cmd+Shift+B on Mac)
Your code will instantly compile and run
📥 Installation
From VSIX
Download the .vsix package
Open VS Code
Go to Extensions view (Ctrl+Shift+X)
Click "..." (top-right) and select "Install from VSIX..."
Choose the downloaded VSIX file
From VS Code Marketplace
Open VS Code
Go to Extensions view (Ctrl+Shift+X)
Search for "Zero Knowledge C Run Code"
Click "Install"
🔍 Known Issues
The extension currently only supports C files with a .c extension
The extension assumes that gcc is installed and available in your PATH
📝 Release Notes
0.0.1
Initial release of Zero Knowledge C Run Code extension
Added right-click menu option for C files
Added keyboard shortcut (Ctrl+Shift+B) support
Auto-save feature before compilation
⭐ Feedback and Support
If you encounter any issues or have suggestions, please contact us