A Visual Studio Code extension that tracks build failures, collects contextual information, and provides insightful analytics through an interactive dashboard.
- Build Failure Tracking: Automatically logs failed builds with context
- Smart Dashboard: Visual analytics of build failures with:
- Developer-specific statistics
- Branch-wise failure distribution
- Common error patterns
- Command execution history
- Git Integration: Auto-detects:
- Current branch
- Developer name (from git config or system)
- Export Capabilities: Save logs as JSON for further analysis
- Safety Features:
- Log rotation (keeps last 1000 entries)
- Error message sanitization
- Command injection protection
- Open VS Code
- Copy and run the following commands in your terminal:
vsce package code --install-extension build-logger-1.0.0.vsix
- Reload VS Code when prompted
- Open your project in VS Code
- Open command palette (
Ctrl+Shift+P
) - Select "Track Builds"
- Watch real-time build output in dedicated terminal
- Power BI integration via firebase
- After at least one failed build:
- Open command palette (
Ctrl+Shift+P
) - Select "Show Build Dashboard"
- Explore failure statistics and patterns
Command | Shortcut | Description |
---|---|---|
Track Builds | Ctrl+Alt+B |
Start monitoring build process |
Show Build Dashboard | Ctrl+Alt+D |
Open analytics dashboard with AI Intgration |
Add to your VS Code settings.json
:
{
"build-logger.buildCommand": "npm run build",
"build-logger.logFilePath": "logs/build_errors.json"
}
Options:
buildCommand
: Custom build command (default:npm run build
)logFilePath
: Relative path for log storage (default:build_logs.json
)
Security Note: Build commands are validated to prevent injection attacks
- Node.js 16+
- VS Code 1.75+
git clone https://github.com/KeshavKumarCG/VS-Extension-.git
cd VS-Extension-
npm install
Command | Description |
---|---|
npm run build |
Compile production build |
npm run watch |
Start development watch mode |
npm test |
Run test suite |
npm run package |
Create VSIX package for distribution |
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit changes
- Push to branch
- Open a Pull Request
Happy Coding! 🎉
Maintained by Keshav Kumar
Maintained by Harshdeep Singh
Maintained by Gursimran Kaur
Maintained by Anushka Soni
Maintained by Shantanu Sahoo