Skip to content

Feature request: Make errors copyableΒ #155

@jwbth

Description

@jwbth

VS Code now allows to copy error text: https://code.visualstudio.com/updates/v1_106#_copy-diagnostic-hover-text. I suppose the use cases are obvious.

The fact that JS errors are displayed with formatting thanks to this extension doesn't mean you shouldn't be able to copy it in the original format.

In fact, it's even more relevant for formatted errors, because when this

Image

is copied manually, newlines end up in the text:

Type 
 boolean 
 is not assignable to type 
 string 
 .

which is not the case with plain text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions