Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>khataaNew to Visual Studio Code? Get it now.
khataa

khataa

Samiru Dev

|
95 installs
| (0) | Free
Enhance your coding efficiency with Khataa. This VS Code extension streamlines error management by providing a 'Copy' button alongside code errors for quick clipboard access, saving time and reducing hassle.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
Khataa Logo

Khataa

Introduction

Khataa (Arabic for "error") is a powerful Visual Studio Code extension designed to streamline error management and boost your coding productivity. Whether you're debugging complex issues or sharing error messages with your team, Khataa makes copying diagnostic information effortless and efficient.

✨ Features

🎯 Multiple Copy Methods

  • Single Error: Copy individual errors via hover or quick actions
  • Bulk Copy: Copy all errors or diagnostics in current file at once
  • Smart Formatting: Multiple copy formats to suit your needs
  • Context Menu: Right-click integration for easy access

📋 Flexible Copy Formats

  • Message Only: Copy just the error message
  • Message + Code: Include error codes for better context
  • Detailed Format: VS Code-style format with file location and structure (default)
  • Full Details: Complete diagnostic information including source and severity

🔄 Bulk Operations

  • Copy All Errors: Copy all errors in the current file with one command
  • Copy All Diagnostics: Copy errors, warnings, and info messages together
  • Structured Output: Each diagnostic separated with clear dividers

⚙️ Customizable Settings

  • Enable/Disable: Toggle functionality on/off
  • Copy Format: Choose your preferred copy format
  • Notifications: Control success notifications

🌍 Universal Support

  • Works with all programming languages
  • Supports all error types: Errors, Warnings, Information, Hints
  • Compatible with any VS Code language extension

Requirements

Khataa requires Visual Studio Code 1.88.0 or newer. Ensure your development environment meets this requirement to use Khataa effectively.

Installation

Install Khataa directly from the Visual Studio Code Marketplace:

  1. Open the Extensions sidebar in Visual Studio Code.
  2. Search for "Khataa".
  3. Click Install.
  4. Enjoy enhanced error management!

Alternatively, you can download and install the extension via the .vsix file from the releases section of our GitHub repository.

⚙️ Extension Settings

Customize Khataa to fit your workflow:

Setting Type Default Description
khataa.enable boolean true Enable/disable Khataa functionality
khataa.copyFormat string "detailed" Copy format: "message", "messageWithCode", "detailed", or "full"
khataa.showNotification boolean true Show notification when error is copied

🔧 How to Configure

  1. Open VS Code Settings (Ctrl/Cmd + ,)
  2. Search for "Khataa"
  3. Adjust settings to your preference

Or add to your settings.json:

{
  "khataa.enable": true,
  "khataa.copyFormat": "detailed",
  "khataa.showNotification": true
}

🚀 How to Use

Khataa provides two convenient ways to copy error messages:

📹 Demo Video

Your browser does not support the video tag.

Watch Khataa in action!

🎯 Method 1: Enhanced Hover (Recommended)

  1. Hover over any error/warning in your code
  2. Click the "📋 Copy Error Message" button in the enhanced tooltip
  3. Done! The error is copied to your clipboard

⚡ Method 2: Quick Actions

  1. Right-click on any error/warning
  2. Select "📋 Copy Error Message" from the context menu
  3. Done! The error is copied to your clipboard

🔄 Method 3: Bulk Copy (New!)

  1. Command Palette (Ctrl/Cmd + Shift + P)
  2. Type "Copy All Errors" or "Copy All Diagnostics"
  3. Select the command to copy all issues in the current file
  4. Alternative: Right-click in editor → "📋 Copy All Errors in File"

📋 Copy Format Examples

Detailed Format (default - matches your example):

Type 'Vehicle[]' is not assignable to type 'number'.ts(2322)
index.ts(140, 3): Type 'Vehicle[]' is not assignable to type 'number'
❌ Type 'Vehicle[]' is not assignable to type 'number'

Code: 2322

Source: ts

Message + Code Format:

Type 'Vehicle[]' is not assignable to type 'number' (2322)

Full Format:

❌ Type 'Vehicle[]' is not assignable to type 'number'

Code: 2322

Source: ts

Location: index.ts(140, 3)

💡 Pro Tips

  • Bulk operations: Use "Copy All Errors" to get all errors at once, separated by dividers
  • Different formats: Change khataa.copyFormat to get the exact format you need
  • Silent mode: Disable khataa.showNotification for no popup notifications
  • Works everywhere: Compatible with TypeScript, Python, JavaScript, Rust, and any language with VS Code support

📝 Release Notes

1.3.1 (Latest)

🔧 Hover Functionality Fix

  • 🐛 Fixed Hover Copy: Restored hover tooltip copy button functionality
  • ⚡ Improved Reliability: Better command handling for hover interactions
  • 🎯 User Experience: Hover tooltips now work seamlessly again

1.3.0

🚀 Bulk Copy & Enhanced Formatting

  • ✨ Bulk Copy Commands: Copy all errors or diagnostics in current file at once
  • 📋 Detailed Format: New VS Code-style format with file locations and structure
  • 🎯 Command Palette Integration: Access bulk copy via Command Palette
  • 📱 Context Menu: Right-click to copy all errors in file
  • 🔧 Enhanced Formatting: Better structured output matching VS Code's error display
  • ⚡ Performance: Optimized diagnostic processing for bulk operations

1.2.0

🎉 Major Feature Update

  • ✨ Enhanced Hover Provider: Rich hover tooltips with clickable copy buttons
  • ⚙️ Configuration Settings: Fully customizable copy formats and notifications
  • 🎯 Multiple Copy Formats: Message-only, with codes, or full diagnostic details
  • 🚀 Performance Optimizations: Faster activation and reduced memory usage
  • 📋 Improved Code Actions: Better integration with VS Code's Quick Fix menu
  • 🌍 Universal Language Support: Works with all programming languages
  • 🧹 Codebase Cleanup: Removed unused code and optimized package size

1.1.1

  • Updated documentation and improved marketplace presentation

1.1.0

  • New professional icon design
  • Enhanced documentation with video demonstrations

1.0.2

  • Minor bug fixes and performance improvements

1.0.0

  • Initial release with basic error copying functionality

Contributing

We welcome contributions to Khataa! If you have suggestions or issues, please feel free to open an issue or submit a pull request on our GitHub repository.

License

Khataa is released under the MIT License. See the LICENSE file for more details.

Enjoy coding more efficiently with Khataa!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft