-
-
Notifications
You must be signed in to change notification settings - Fork 100
feat: make errors copyable #156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This looks solid, the only question is if an icon from codeicon representing the copy icon would be better than using the text. |
yoavbls
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
|
@yoavbls, @Vinayak9769 & @kevinramharak What’s the difference between the copy icon next to the website icons and the copy icon that already appears next to the error message? Screenshot:
|
|
@bennycode That is the original error message, shown by VS Code TypeScript language features. |
|
Cool! Thanks for the info. @yoavbls can you make a new release of the extension? |
|
Of course, I'm just waiting for this to be merged: |


This PR implements the feature requested in #155.
Summary:
Added a copy button allowing users to copy the diagnostic message as plain text.
Local test
Before:

After:

Happy to tweak this if you want any changes! :)