zed
zed copied to clipboard
Add copy path and copy relative path to context click menu
Release Notes:
- Added "Copy path" and "Copy relative path" to the file right click context menu
Related to https://github.com/zed-industries/zed/issues/4474
This replicates the tab behavior that exists on vscode
Tasks:
- [x] Check that it works on context menu in file
~~- [ ] Check that it works on a tab (does nothing)~~
I only implemented for the context menu in a file, I am unable to make it work for a tab. It is better to merge this one without the tab click. Maybe someone will make it or help me do it some day :)
It doesn't seem like VSCode includes this in it's mouse context menu:
As such, I don't think this is the right place for this action contextually. It should be on the tabs and the project panel.
As such, I don't think this is the right place for this action contextually. It should be on the tabs and the project panel.
I tend to agree but failed implementing it. Could someone let me know why my action was doing nothing?
Without a code sample or otherwise looking at the problem, I couldn't tell you. I suggest jumping in our discord and asking once you have one though :)
Could you send me an invite link?
Here was my implementation https://github.com/zed-industries/zed/commit/91dc9a39bf7a06f2411567305d9a2f179b81c9f3
Hmmm, it should be available somewhere? Regardless, here's the link: https://discord.gg/29HzRq8V
Sorry to see that this seems to be abandoned. Has there been newer work implementing this on tabs? I am missing this now. Should I open a new feature request issue?
Sorry to see that this seems to be abandoned. Has there been newer work implementing this on tabs? I am missing this now. Should I open a new feature request issue?
Yes please, if you can get this implemented it would be lovely. I really miss my patched version.
See linked PR, I have the basic functionality but it doesn't work for all types of tabs yet.