GCC (GNU Compiler Collection): Required for compiling C programs.
Git: Required for version control integration.
Installation
Open Visual Studio Code.
Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window.
Search for "ClassroomPlugin" in the Extensions view search bar.
Click the Install button to install the extension.
Once installed, you can access the extension's functionality.
Usage
Open a C program file (.c) in Visual Studio Code.
Click on the "Run" button in the top-right corner of the editor, or use the keyboard shortcut to trigger the extension.
Keyboard Shortcut:Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS), then type "Compile and Commit C program" and press Enter.
The extension will compile and run the C program in the integrated terminal.
Compilation errors, if any, will be logged in the compile_errors.txt file in the same directory as your source code.
Configuration
You can customize the behavior of the extension by modifying the settings. To access the settings, go to File > Preferences > Settings, search for "ClassroomPlugin," and adjust the options as needed.
Roadmap
Support for debugging with GDB (GNU Debugger).
Enhanced error reporting and diagnostics.
Additional Git-related features for version control.
Integration with popular C libraries and frameworks.
Feedback and Contributions
We welcome your feedback and contributions to improve this extension. If you encounter any issues, have suggestions for improvements, or would like to contribute to the project, please visit the GitHub repository for ClassroomPlugin.