🚀 Lab Record Maker
Lab Record Maker is a Visual Studio Code extension designed for Computer Science students to automate the process of creating Lab Manuals and Practical Records.
It takes your C++ code, compiles it, runs it with your inputs, and generates a professionally formatted MS Word (.docx) document complete with an Index, Cover Page, Source Code, and Output.
✨ Features
- 📄 Generates MS Word (.docx): Fully editable document suitable for printing.
- 🎨 Professional Formatting: Code is placed in a clean Gray Box with
Consolas font and borders.
- 🎯 Auto Aim Detection: Automatically extracts the "Aim/Question" from the first line of your code (if commented).
- ⌨️ Input Support: Allows you to provide runtime inputs for your programs directly from VS Code.
- 👤 One-Time Setup: Remembers your Name, Enrollment, and Course for the Cover Page.
- 🔄 Multi-Experiment Support: Appends new experiments to the same file or creates a new one based on your choice.
⚙️ Prerequisites (Before Installing)
Since this extension compiles C++ code, you must have a C++ compiler installed on your system:
- MinGW (G++): Ensure
g++ is installed and added to your system's Environment Variables (PATH).
- To check, open a terminal and type:
g++ --version
- Visual Studio Code (obviously!).
📥 How to Install
- Download the
.vsix file provided.
- Open Visual Studio Code.
- Go to the Extensions view (
Ctrl+Shift+X).
- Click the ... (Three Dots) at the top-right of the Extensions menu.
- Select "Install from VSIX...".
- Choose the
.vsix file and wait for installation to complete.
🚀 How to Use
1. Open a C++ File
Open any .cpp file in VS Code that you want to add to your record.
2. Add the Aim (Important!)
To automatically set the Aim/Question for the experiment, add a comment on the very first line of your code starting with //.
Example:
// Write a program to check if a number is Prime or not
#include <iostream>
using namespace std;
// ... rest of your code#� �l�a�b�-�r�e�c�o�r�d�-�m�a�k�e�r�
�
�#� �l�a�b�-�r�e�c�o�r�d�-�m�a�k�e�r�
�
�