Skip to content

Enhancement: Improve Hint System for Error Handling in Extension #187

@unlomtrois

Description

@unlomtrois

Hey, thank you for this cool extension, I really like it. But I find it too intrusive to see these hints all around even if I cover all my code with error handlers. So, my suggestions:

Show hints to wrap function calls in try-catch blocks or adding .catch for async functions. When the user made it, remove these diagnostics.

Inside functions, if something throws and the function doesn't have @throws field in its jsdoc comment, show a warning on the function's name. When the user adds this field in jsdoc, remove warning diagnostics.

These changes may improve user experience, because instead of seeing intrusive hints they will focus on covering their code with error handlers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions