NewTools
NewTools copied to clipboard
[Debugger][Enhancement] Propose a shortcut to copy system infos to report a bug
It should be very cool to have a shortcut to copy in the system clipboard formatted informations about the system. Theses informations can be used to create an issue (and don't forget to include them).
I create an issue when a debugger is open, so why not to include an item in the debugger menu for that.
For example, it can be in Bug report > Copy system info into clipboard
The result,, when I do a Ctrl+V, should be :
System config
Pharo : Pharo-11.0.0+build.692.sha.0c234f2f5a92b237dd22ef9429506e92e586c494 (64 Bit)
OS : Windows 11 Professionnel (22H2 Build 22621.1778) x64
And why no include others action into Bug report menu as a shortcut which open github on a new issue :)
Indeed. Just send a PR and we will include it.
Ok, what is the best way to copy infos in the OS clipboard ?
I do not know :) I would start to look into the Clipboard class.
We are using https://github.com/astares/Pharo-OS-Windows to manage the clipboard in Windows. @ELePors is it right ?
May be this is possible to refactore for others OS and integrate this feature directly into Pharo ?
It would be nice to have a better clipboard. Now it may be a bit challenging to make sure everything works on all platforms.