The Code Line Logger is a VS Code extension designed to help developers track and analyze their coding behavior by logging specific actions into a CSV file. This extension captures when a user writes lines, presses certain keys (semicolon, enter, backspace), and uses code suggestions. It's a handy tool for developers who want to understand their coding patterns or for research purposes.
Features
Line Logging: Records each line of code written by the user.
Key Events: Logs semicolon, enter, and backspace keystrokes to capture detailed editing actions.
Suggestion Usage: Tracks when code suggestions are accepted and used.
CSV Output: Stores all logged data in a CSV file, making it easy to analyze coding behavior and patterns.
File Storage: CSV files are created in the C drive within a folder named StudentLogs.
How to Use
Activate the Extension:
Press Ctrl+Shift+P in VS Code to open the command palette.
Search for "Start Recording" and select it to begin logging your actions.
Stop Recording:
To stop recording, press Ctrl+Shift+P again and search for "Stop Recording."
Use Cases
Self-analysis: Gain insights into your coding habits and identify areas for improvement.
Research: Ideal for research in programming behavior, collaborative coding analysis, and more.
Training: Useful for training programs to observe and analyze the coding process.