Skip to content
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

editor: Add Cut, Copy, and Paste actions to the context menu #11878

Conversation

vitallium
Copy link
Contributor

@vitallium vitallium commented May 15, 2024

Hi, I saw someone on Twitter mentioned that missing Cut, Copy and Paste actions in the context menu in the editor block them from using Zed. It turns out that resolving this issue is simply a matter of adding these actions to the mouse context menu. To keep items in the context menu grouped, I placed them at the top of the menu with a separator at the end. Let me know if that's OK. Thanks!

Here is the screenshot:

CleanShot 2024-05-16 at 07 04 44@2x

Release Notes:

  • Added "Cut", "Copy", and "Paste" actions to the context menu (#4280).

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label May 15, 2024
Copy link
Member

@maxdeviant maxdeviant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we put this section after the separator following Code Actions and before Reveal in Finder?

@vitallium vitallium force-pushed the vs/add-cut-copy-paste-context-menu-actions branch from 22c11f7 to d40203c Compare May 16, 2024 05:06
@vitallium
Copy link
Contributor Author

@maxdeviant sure thing. I've updated this PR and the screenshot. Thanks.

@maxdeviant maxdeviant changed the title editor: Add Cut, Copy and Paste actions to the context menu editor: Add Cut, Copy, and Paste actions to the context menu May 16, 2024
Copy link
Member

@maxdeviant maxdeviant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, looks good!

@maxdeviant maxdeviant merged commit f2e7c63 into zed-industries:main May 16, 2024
10 checks passed
@0x2CA
Copy link
Contributor

0x2CA commented May 17, 2024

There seems to be a problem.

2024-05-17.12.06.19.mov

@vitallium vitallium deleted the vs/add-cut-copy-paste-context-menu-actions branch May 17, 2024 04:55
osiewicz pushed a commit to RemcoSmitsDev/zed that referenced this pull request May 18, 2024
…ustries#11878)

Hi, I saw someone on Twitter mentioned that missing Cut, Copy and Paste
actions in the context menu in the editor block them from using Zed. It
turns out that resolving this issue is simply a matter of adding these
actions to the mouse context menu. To keep items in the context menu
grouped, I placed them at the top of the menu with a separator at the
end. Let me know if that's OK. Thanks!

Here is the screenshot:

![CleanShot 2024-05-16 at 07 04
44@2x](https://github.com/zed-industries/zed/assets/1894248/2ac84001-cdd7-4c01-b597-c5b1dc3e7fa3)

Release Notes:

- Added "Cut", "Copy", and "Paste" actions to the context menu
([zed-industries#4280](zed-industries#4280)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants