VSCode Analytics is an extension that helps you track and analyze your coding time in Visual Studio Code. It provides insights into your coding habits, project-wise time distribution, and allows you to export your data for further analysis.
Features
Automatic Time Tracking: Tracks your coding time automatically when VSCode is open.
Project-wise Analytics: View time spent on different projects.
Interactive Charts: Visualize your coding patterns with pie charts.
Customizable Filters: Filter your data by time range (Today, This Week, This Month, This Year, All Time) and by project.
Data Export: Export your filtered data as CSV for further analysis.
Status Bar Timer: Shows your current coding session duration in the status bar.
Installation
Open Visual Studio Code
Press Ctrl+P (or Cmd+P on macOS) to open the Quick Open dialog
Type ext install vscode-analytics and press Enter
Restart Visual Studio Code after the installation
Usage
View Analytics:
Open the command palette (Ctrl+Shift+P or Cmd+Shift+P on macOS)
Type "Show Analytics" and select it
Export Data:
In the analytics view, use the filter options as needed
Click on the "Export as CSV" button
Status Bar:
The extension automatically starts tracking time when you open VSCode
You can see the current session duration in the status bar
Settings
Currently, VSCode Analytics doesn't have any configurable settings. It works out of the box!
Data Privacy
VSCode Analytics stores all data locally on your machine. No data is sent to any external servers.
Feedback and Contributions
If you encounter any issues or have suggestions for improvements, please file an issue on our GitHub repository.
Contributions are always welcome! Please read our contributing guidelines before submitting a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
This extension uses Chart.js for data visualization.