Open JCripe-AuthorSolutions opened 5 months ago
Thanks for the report. The cut, copy, paste context menu is provided by vscode and has default behaviour. We have limited control over it but we can remove the context menu altogether or hide it in certain situations. But it does have default behaviour and copies selected text so can be useful in some limited situations.
This is not really a bug but it is a feature gap, we need to handle copy and paste application wide, so I will turn this in a feature and get it targeted to a release.
There is a slight work around for copying text from the grids. You can selected some text with mouse down and then use CMD/ CTRL + C to copy BEFORE releasing mouse down.
If any of the tables have focus CTRL/ CMD+C will copy the full table content to the clipboard, but honestly it is a bit clunky.
Changes I would suggest a bunch of changes to make copy nicer to use, feedback would be appreciated.
Let me know if you have other ideas and thought and I will add them to this 👍🏻
Summary
Right clicking on a log analysis line shows "Copy Ctrl+C, ...," but using "Copy" doesn't work. No log contents are put in the clipboard. Also, the "Cut" and "Paste" options are shown improperly, as they won't function in this context.
Steps To Reproduce
Expected result
The clipboard should have been loaded with the selected text for pasting.
Actual result
The clipboard contents are old, not replaced with the selected log analyzer line text.
Additional information
Feel free to attach a screenshot.
VS Code Version: v1.14.1
Log Analyzer Extension Version: v1.14.1
OS and version: Windows 10 Enterprise, version 10.0.19045 Build 19045