A powerful Visual Studio Code extension for exporting and analyzing diagnostic problems from your workspace.
Release Date: January 5, 2024 Timestamp: 15:30:00 UTC
- Enhanced architectural structure
- Improved separation of concerns
- More modular and extensible design
- Centralized type management
src/
├── core/
│ ├── formatters/
│ │ ├── base/
│ │ │ └── BaseFormatter.ts # Abstract base formatter
│ │ ├── interfaces/
│ │ │ └── IFormatter.ts # Formatter interface
│ │ ├── implementations/
│ │ │ ├── CsvFormatter.ts
│ │ │ ├── JsonFormatter.ts
│ │ │ ├── MarkdownFormatter.ts
│ │ │ └── XlsxFormatter.ts
│ │ └── index.ts # Centralized formatter exports
│ ├── services/
│ │ ├── interfaces/
│ │ │ └── IProblemCollector.ts # Problem collection interface
│ │ ├── ProblemCollector.ts # Concrete problem collection
│ │ ├── ProblemExporter.ts # Problem export logic
│ │ └── index.ts # Service exports
│ ├── types/
│ │ ├── common/
│ │ │ ├── OutputFormats.ts # Enum/type definitions
│ │ │ └── Interfaces.ts # Shared interfaces
│ │ ├── formatters/
│ │ │ └── FormatterTypes.ts # Formatter-specific types
│ │ ├── problems/
│ │ │ └── ProblemTypes.ts # Problem-related types
│ │ └── index.ts # Centralized type exports
│ └── utils/
│ ├── ErrorHandling.ts
│ └── Validation.ts
├── extension.ts # Main VS Code extension entry point
└── test/
├── unit/
│ ├── formatters/
│ │ ├── CsvFormatter.test.ts
│ │ ├── JsonFormatter.test.ts
│ │ ├── MarkdownFormatter.test.ts
│ │ └── XlsxFormatter.test.ts
│ ├── services/
│ │ ├── ProblemCollector.test.ts
│ │ └── ProblemExporter.test.ts
│ └── utils/
│ ├── ErrorHandling.test.ts
│ └── Validation.test.ts
└── integration/
└── ExtensionIntegration.test.ts
-
Enhanced Separation of Concerns
- Distinct directories for interfaces, implementations
- Centralized type management
- Utility functions separated
- Clear test structure mirroring source structure
-
Naming Conventions
- PascalCase for classes and interfaces
- Descriptive, purpose-driven file names
- Grouped related files in subdirectories
-
Type Centralization
- Comprehensive type management
- Separated by domain (common, formatters, problems)
- Single source of truth for type definitions
-
Dynamic Export
- Interactive format selection
- Export problems in multiple formats:
- Markdown
- JSON
- CSV
- Excel (XLSX)
-
Comprehensive Problem Analysis
- Group problems by:
- Type (Error, Warning, Information)
- Source
- Error Code
- Group problems by:
-
Detailed Problem Information
- Filename
- Location (line and column)
- Error message
- Related information
- Open Visual Studio Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "Hex Problems Exporter"
- Click Install
- Open a workspace with diagnostic problems
- Open the Command Palette (Ctrl+Shift+P)
- Type "Export Problems Report"
- Choose your desired output format
- Select save location
- Markdown: Human-readable report
- JSON: Structured data for further processing
- CSV: Easy import to spreadsheet software
- Excel (XLSX): Comprehensive spreadsheet with multiple sheets
- Visual Studio Code ^1.60.0
- Node.js ^16.x
Works with any language supported by VS Code's diagnostic APIs, including:
- TypeScript
- JavaScript
- Python
- C++
- And more!
Optimized for both small and large workspaces, with progress indication during export.
- Ensure you have an active workspace
- Check VS Code's Problems view for existing diagnostics
Contributions are welcome! Please check our GitHub repository for guidelines.
MIT License
- Enhanced architectural structure
- Improved separation of concerns
- More modular and extensible design
- Centralized type management
- Added dynamic format selection
- Implemented XLSX export with ExcelJS
- Enhanced problem grouping
- Improved error handling
- Modular project restructure
- Initial release
- LLM integration for problem analysis
- Custom problem filtering
- More export formats
- Performance optimizations
Found an issue? Please report it on our GitHub repository.
Created with ❤️ by the Hex Problems Exporter Team