IntelliSense Clipboard
Quickly copy TypeScript and JavaScript error messages and diagnostics to your clipboard directly from the Quick Fix menu.
Features
- Quick Fix Integration: Adds a "Copy Error Message" option to the Quick Fix menu when hovering over errors or warnings
- Keyboard Shortcut: Press
Ctrl+Alt+C (or Cmd+Alt+C on Mac) to copy diagnostics at your cursor position
- Formatted Output: Copies error messages with severity level, source, error code, and full message text
Usage
- Hover over any TypeScript or JavaScript error/warning in your code
- Click the [Quick Fix] button in the hover popup
- Select "Copy Error Message" from the menu
- The error message is now in your clipboard!
Method 2: Keyboard Shortcut
- Place your cursor on an error or warning
- Press
Ctrl+Alt+C (Windows/Linux) or Cmd+Alt+C (Mac)
- The diagnostic message is copied to your clipboard
Error messages are copied in this format:
[Error] ts (2322)
Type 'string' is not assignable to type 'number'.
Multiple diagnostics are separated with ---.
Supported Languages
- TypeScript (
.ts)
- JavaScript (
.js)
- TypeScript React (
.tsx)
- JavaScript React (
.jsx)
Requirements
- Visual Studio Code version 1.80.0 or higher
Extension Settings
This extension does not add any VS Code settings.
Release Notes
0.1.0
Initial release:
- Quick Fix menu integration
- Keyboard shortcut support
- TypeScript and JavaScript support
License
MIT
Contributing
Found a bug or have a feature request? Please open an issue on GitHub.
| |