-
Notifications
You must be signed in to change notification settings - Fork 28.9k
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
Support minimal context menu for text selected within extension README #65310
Comments
I've added cut, copy, and paste actions to the menu. We can consider adding additional actions based on demand (including potentially contributed ones #54285) |
@mjbvz I'm still unable to copy-paste with the context menu. |
Works fine for me on macOS, confirmed still not working on windows. |
Also seems to work for me on Windows: a62df5d The fix I checked in yesterday was Windows and Linux specific. I believe it always worked on MacOS |
@mjbvz fyi we have a standard context menu that we show in all input fields: I am not sure if you can detect whether the thing under the mouse is editable (= input field) or not and then show either this context menu or one with only things that work in readonly contexts (e.g. not "Cut"). |
Verified for macOS. If you want cross OS coverage, I suggest a test plan item. |
The README for my extension includes several text fragments designed for copying into settings.json. But when I highlight the text and right-click on it, no context menu appears.
It turns out that the usual Ctrl+C key sequence (I'm testing on Windows) does copy the selection to the clipboard. But I wish the right-click would offer a context menu with a 'Copy' option.
The text was updated successfully, but these errors were encountered: