devtools
e10051a9 - New VSCode fallback behaviour for copyToClipboard (#6598)

Commit
2 years ago
New VSCode fallback behaviour for copyToClipboard (#6598) ![](https://media.giphy.com/media/4URfklUToxk6A/giphy.gif) Adds a fallback behaviour for copying which will allow copy buttons to actually work in VSCode. NOTE: success toasts will no longer show in VSCode though. I've also added some logging just in case a user is looking at their console when a copy fails. Hopefully this provides enough information that the unhide-able error doesn't look suspicious. ![Screenshot 2023-10-26 at 10 53 39 AM](https://github.com/flutter/devtools/assets/1386322/b4ebd139-f3f5-4dd6-8c62-794f7d6df80d) Related to https://github.com/Dart-Code/Dart-Code/pull/4814 Fixes https://github.com/flutter/devtools/issues/5775
Author
Parents
Loading