Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Error SnapNew to Visual Studio Code? Get it now.
Error Snap

Error Snap

Kishore k

|
49 installs
| (0) | Free
🚀 Error Snap is a VS Code extension that helps developers save, retrieve, and auto-suggest solutions for recurring errors.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ErrorSnap

ErrorSnap helps with managing and displaying error logs within your workspace.

Features

  • Tracks and logs errors in your workspace.

  • Provides error solutions and tagging options.

  • Displays error messages in a user-friendly interface.

  • Allows enabling and disabling popups for error notifications.

  • Stores error logs in a JSON file for reference.

Commands

  • error-snap.openScreen : Opens the ErrorSnap panel to display error logs.

  • error-snap.enablepopup : Enables error popups for tracking new errors.

  • error-snap.disablepopup : Disables error popups to prevent notifications.

Requirements

  • Visual Studio Code

  • Node.js

Installation

To install this extension:

  1. Open the Extensions view (Ctrl+Shift+X).

  2. Search for "ErrorSnap" and click Install

  3. Reload VS Code if required.

Usage

Once installed, run the error-snap.openScreen command to view and manage error logs in your workspace.

Work Flow

Function Description
activate(context) Initializes the extension, sets up commands, diagnostic tracking, and log file management.
updateLogFilePath() Sets the path for storing error logs and ensures the file exists.
generateUniqueId(errors) Generates a unique ID for each logged error to avoid duplicates.
updateDiagnostics(panel, filePath?) Checks for errors, prompts users to log new errors, and updates the error log file.
trackDiagnostics(context) Tracks document save events and updates diagnostics accordingly.
deactivate() Cleans up diagnostics when the extension is deactivated.

License

MIT License

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