Easily export all workspace problems from the 'Problems' tab to a JSON or XML file. Perfect for sharing, analysis, or processing with external tools and AI assistants.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
This Visual Studio Code extension allows you to export all the problems from the "Problems" tab into a file in your workspace. This is useful for sharing, analyzing, or feeding the list of errors, warnings, and other diagnostics into other tools, including AI assistants.
Features
Export Problems to a File: Manually export all workspace problems using a command.
Multiple Formats: Choose to export problems in either JSON or XML format.
Automatic Export: Configure the extension to automatically export problems at a set interval.
Customizable Output: Set a custom file name for the exported problems file.
Commands
This extension contributes the following command to the Command Palette:
Problems as File: Export: Manually triggers the export of all problems.
Extension Settings
This extension contributes the following settings, which can be configured in your VS Code settings (settings.json):
problems-as-file.interval.enabled: Enable or disable automatic exporting of problems.
Type: boolean
Default: false
problems-as-file.interval.seconds: The interval in seconds at which to automatically export problems.
Type: number
Default: 5
problems-as-file.output.format: The file format for the exported problems.
Type: string
Options: json, xml
Default: json
problems-as-file.output.fileName: The name of the exported file (without the file extension).
Type: string
Default: project-problems
Known Issues
There are currently no known issues.
Release Notes
0.0.1
Initial release of "Problems as File".
Added manual and automatic export of problems.
Added support for JSON and XML formats.
Added configurable settings for file name, format, and export interval.