{"id":31209661,"url":"https://github.com/iamnishant51/code-runner-vscode-extension","last_synced_at":"2026-04-18T10:36:25.567Z","repository":{"id":310860029,"uuid":"1041519121","full_name":"IamNishant51/CODE-RUNNER-vscode-extension","owner":"IamNishant51","description":"extension for vs code to run c and c++ programms inside vs code without any online compiler or switching tabs ","archived":false,"fork":false,"pushed_at":"2025-09-08T02:23:43.000Z","size":17079,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-21T02:37:10.493Z","etag":null,"topics":["userful","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IamNishant51.png","metadata":{"files":{"readme":"README-NISHANT.md","changelog":"CHANGELOG-NISHANT.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-20T15:51:33.000Z","updated_at":"2025-09-08T02:23:46.000Z","dependencies_parsed_at":"2025-09-07T06:19:19.586Z","dependency_job_id":null,"html_url":"https://github.com/IamNishant51/CODE-RUNNER-vscode-extension","commit_stats":null,"previous_names":["iamnishant51/code-runner-vscode-extension"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/IamNishant51/CODE-RUNNER-vscode-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamNishant51%2FCODE-RUNNER-vscode-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamNishant51%2FCODE-RUNNER-vscode-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamNishant51%2FCODE-RUNNER-vscode-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamNishant51%2FCODE-RUNNER-vscode-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IamNishant51","download_url":"https://codeload.github.com/IamNishant51/CODE-RUNNER-vscode-extension/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamNishant51%2FCODE-RUNNER-vscode-extension/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000778,"owners_count":26082911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["userful","vscode","vscode-extension"],"created_at":"2025-09-21T02:26:52.193Z","updated_at":"2025-10-09T03:10:51.556Z","avatar_url":"https://github.com/IamNishant51.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Advanced Code Runner (VS Code Extension)\n\nA powerful, feature-rich, multi-language code runner for VS Code with a beautiful dark-themed interface.  \nRun **10+ programming languages** directly inside VS Code with advanced features and smart input detection.\n\n---\n\n## ✨ Features\n\n### 🌟 **Core Features**\n- 🖤 **Beautiful dark-themed UI** with modern design\n- 🌐 **Multi-language support** - 10+ programming languages\n- ⚡ **One-click execution** with smart compilation detection\n- 📁 **Auto file detection** from active editor\n- 💻 **Real-time output** with colored error messages\n- ⌨️ **Interactive input support** with smart detection\n- 📊 **Execution time tracking**\n- 🧹 **Automatic cleanup** of temporary files\n\n### 🔧 **Advanced Features**\n- 📋 **Language templates** - Quick start with boilerplate code\n- ✨ **Code formatting** for supported languages\n- 💾 **Save to workspace** functionality\n- ⚙️ **Command line arguments** support\n- 🎯 **Context menu integration** \n- ⌨️ **Keyboard shortcuts** (Ctrl+F5 to run, Ctrl+Shift+R for panel)\n- 🔗 **Right-click to run** any supported file\n\n### 🌐 **Supported Languages**\n\n| Language     | Extensions       | Compilation | Input Support | Templates |\n|-------------|------------------|-------------|---------------|-----------|\n| **C**       | `.c`            | ✅ gcc      | ✅            | ✅        |\n| **C++**     | `.cpp`, `.cxx`, `.cc` | ✅ g++  | ✅            | ✅        |\n| **Python**  | `.py`           | ❌ Interpreted | ✅          | ✅        |\n| **Java**    | `.java`         | ✅ javac   | ✅            | ✅        |\n| **JavaScript** | `.js`        | ❌ Node.js | ✅            | ✅        |\n| **TypeScript** | `.ts`        | ✅ tsc     | ✅            | ✅        |\n| **Go**      | `.go`           | ❌ go run  | ✅            | ✅        |\n| **Rust**    | `.rs`           | ✅ rustc   | ✅            | ✅        |\n| **Ruby**    | `.rb`           | ❌ ruby    | ✅            | ✅        |\n| **PHP**     | `.php`          | ❌ php     | ✅            | ✅        |\n| **C#**      | `.cs`           | ✅ csc     | ✅            | ✅        |\n\n---\n\n## 📸 Preview\n\n### 🎨 **Modern Interface**\n![Advanced Code Runner Interface](https://github.com/user-attachments/assets/bc5b1bef-78e7-4904-b9a6-dca946ce5fce)\n\n### 🔥 **Multi-Language Support**\n![Multi-Language Support](https://github.com/user-attachments/assets/9caf8a57-50f5-4510-9fc7-560ebb3f14b3)\n\n---\n\n## 🚀 Installation\n\n### **Method 1: From Source (Recommended)**\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/IamNishant51/CODE-RUNNER-vscode-extension.git\n   cd CODE-RUNNER-vscode-extension\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Build the extension:\n   ```bash\n   npm run compile\n   ```\n\n4. Package the extension:\n   ```bash\n   npm run package\n   ```\n\n5. Install in VS Code:\n   - Open VS Code\n   - Press `Ctrl+Shift+P`\n   - Run \"Extensions: Install from VSIX...\"\n   - Select the generated `.vsix` file\n\n### **Method 2: Development Mode**\n1. Clone and open in VS Code\n2. Press `F5` to run in development mode\n3. Test in the new Extension Development Host window\n\n---\n\n## 🎯 Usage\n\n### **Quick Start**\n1. Open any supported code file (`.c`, `.cpp`, `.py`, `.java`, etc.)\n2. Press `Ctrl+F5` or right-click → \"Run Current File\"\n3. Or open Command Palette (`Ctrl+Shift+P`) → \"Code Runner: Open Panel\"\n\n### **Commands**\n- `Code Runner: Open Panel` - Open the main runner interface\n- `Code Runner: Run Current File` - Quick run active file\n- `Code Runner: Create Template` - Generate language templates\n- `Code Runner: Open Settings` - Access configuration\n\n### **Keyboard Shortcuts**\n- `Ctrl+F5` (`Cmd+F5` on Mac) - Run current file\n- `Ctrl+Shift+R` (`Cmd+Shift+R` on Mac) - Open runner panel\n\n### **Templates**\nCreate boilerplate code for any supported language:\n1. Command Palette → \"Code Runner: Create Template\"\n2. Select language\n3. Enter filename\n4. Template is created and opened automatically\n\n---\n\n## ⚙️ Configuration\n\n### **Settings**\nAccess via File → Preferences → Settings → Search \"Code Runner\"\n\n```json\n{\n  \"codeRunner.executorMap\": {\n    \"c\": \"gcc $fileName -o $fileNameWithoutExt \u0026\u0026 ./$fileNameWithoutExt\",\n    \"cpp\": \"g++ $fileName -o $fileNameWithoutExt \u0026\u0026 ./$fileNameWithoutExt\",\n    \"python\": \"python $fileName\",\n    \"java\": \"javac $fileName \u0026\u0026 java $fileNameWithoutExt\",\n    \"javascript\": \"node $fileName\",\n    \"typescript\": \"tsc $fileName \u0026\u0026 node $fileNameWithoutExt.js\",\n    \"go\": \"go run $fileName\",\n    \"rust\": \"rustc $fileName -o $fileNameWithoutExt \u0026\u0026 ./$fileNameWithoutExt\",\n    \"ruby\": \"ruby $fileName\",\n    \"php\": \"php $fileName\",\n    \"csharp\": \"csc $fileName \u0026\u0026 ./$fileNameWithoutExt.exe\"\n  },\n  \"codeRunner.runInTerminal\": false,\n  \"codeRunner.clearPreviousOutput\": true,\n  \"codeRunner.saveFileBeforeRun\": true,\n  \"codeRunner.showExecutionMessage\": true\n}\n```\n\n### **Prerequisites**\nMake sure you have the required compilers/interpreters installed:\n\n- **C/C++**: GCC/G++ (`sudo apt install gcc g++` on Ubuntu)\n- **Python**: Python 3.x (`python.org`)\n- **Java**: JDK 8+ (`sudo apt install openjdk-11-jdk`)\n- **Node.js**: For JavaScript/TypeScript (`nodejs.org`)\n- **Go**: Go compiler (`golang.org`)\n- **Rust**: Rust toolchain (`rustup.rs`)\n- **Ruby**: Ruby interpreter (`ruby-lang.org`)\n- **PHP**: PHP interpreter (`php.net`)\n- **C#**: .NET SDK (`dotnet.microsoft.com`)\n\n---\n\n## 🆕 What's New in v1.0.0\n\n### **Major Enhancements**\n- ✅ **10+ language support** (previously only C/C++/Python)\n- ✅ **Language templates** with boilerplate code\n- ✅ **Smart input detection** for interactive programs\n- ✅ **Execution time tracking** \n- ✅ **Command line arguments** support\n- ✅ **Code formatting** capabilities\n- ✅ **Context menu integration**\n- ✅ **Keyboard shortcuts**\n- ✅ **Modern UI redesign** with status indicators\n- ✅ **Better error handling** with colored output\n- ✅ **Configuration options** for customization\n\n### **Technical Improvements**\n- 🔧 Modular language configuration system\n- 🔧 Enhanced process management\n- 🔧 Better memory cleanup\n- 🔧 Cross-platform compatibility improvements\n- 🔧 TypeScript strict mode compliance\n\n---\n\n## 🤝 Contributing\n\nWe welcome contributions! Here's how you can help:\n\n1. **Fork** the repository\n2. **Create** a feature branch (`git checkout -b feature/amazing-feature`)\n3. **Commit** your changes (`git commit -m 'Add amazing feature'`)\n4. **Push** to the branch (`git push origin feature/amazing-feature`)\n5. **Open** a Pull Request\n\n### **Development Setup**\n```bash\ngit clone https://github.com/IamNishant51/CODE-RUNNER-vscode-extension.git\ncd CODE-RUNNER-vscode-extension\nnpm install\nnpm run watch  # For development with auto-reload\n```\n\n---\n\n## 📋 Roadmap\n\n### **Upcoming Features**\n- [ ] **Code editor integration** - Edit code directly in the panel\n- [ ] **Debug mode support** - Integrate with VS Code debugger\n- [ ] **Multiple file projects** - Support for multi-file compilation\n- [ ] **Custom build configurations** - Project-specific settings\n- [ ] **Performance profiling** - Memory and CPU usage tracking\n- [ ] **Output export** - Save results to file\n- [ ] **Collaborative features** - Share code snippets\n- [ ] **Cloud compilation** - Remote execution support\n\n### **Language Additions**\n- [ ] **Kotlin** support\n- [ ] **Swift** support  \n- [ ] **Dart** support\n- [ ] **Scala** support\n- [ ] **Perl** support\n\n---\n\n## 🐛 Known Issues\n\n- TypeScript compilation may require global `tsc` installation\n- C# support requires .NET SDK installation\n- Some languages may need PATH configuration\n- Input detection might need refinement for complex prompts\n\nReport issues at: [GitHub Issues](https://github.com/IamNishant51/CODE-RUNNER-vscode-extension/issues)\n\n---\n\n## 📜 License\n\nThis project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for details.\n\n---\n\n## 👨‍💻 Author\n\n**Nishant Unavane** - [@IamNishant51](https://github.com/IamNishant51)\n\n---\n\n## 🌟 Support\n\nIf you find this extension helpful, please:\n- ⭐ **Star** the repository\n- 🐛 **Report** any issues\n- 💡 **Suggest** new features\n- 📢 **Share** with others\n\n---\n\n## 📞 Contact\n\n- **GitHub**: [@IamNishant51](https://github.com/IamNishant51)\n- **Repository**: [CODE-RUNNER-vscode-extension](https://github.com/IamNishant51/CODE-RUNNER-vscode-extension)\n- **Issues**: [Report a Bug](https://github.com/IamNishant51/CODE-RUNNER-vscode-extension/issues)\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n**Made with ❤️ for the coding community**\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamnishant51%2Fcode-runner-vscode-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamnishant51%2Fcode-runner-vscode-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamnishant51%2Fcode-runner-vscode-extension/lists"}