A Visual Studio Code extension that adds a convenient copy button to TypeScript error hovers, making it easier to share and document TypeScript errors.
Features
Adds a copy button to TypeScript error hovers
Copy errors directly from the Problems panel
Keyboard shortcut support (Ctrl+Shift+C / Cmd+Shift+C)
Works with both TypeScript and TypeScript React files
Installation
Install through VS Code Marketplace
Reload VS Code
The extension will automatically activate when you open TypeScript or TypeScript React files
Usage
Hover over a TypeScript error and click the copy button
Use the keyboard shortcut Ctrl+Shift+C (Cmd+Shift+C on Mac) to copy the error at cursor position
Right-click in the editor and select "Copy Error at Cursor" from the context menu
Requirements
Visual Studio Code version 1.74.0 or higher
Extension Settings
This extension contributes the following commands:
typescript-error-copier.copyError: Copy TypeScript Error from hover
typescript-error-copier.copyFromProblems: Copy Error at Cursor
Known Issues
Please report any issues on the GitHub repository.
Release Notes
1.0.0
Initial release of TypeScript Error Copier:
Add copy button to TypeScript error hovers
Add keyboard shortcut support
Add context menu integration
License
This project is licensed under the MIT License - see the LICENSE file for details.