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

Copy current filename command #21967

Open
1 task done
LewisAlderman opened this issue Dec 13, 2024 · 0 comments
Open
1 task done

Copy current filename command #21967

LewisAlderman opened this issue Dec 13, 2024 · 0 comments
Labels
admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue

Comments

@LewisAlderman
Copy link

Check for existing issues

  • Completed

Describe the feature

Copy the current filename to clipboard (command palette and file right-click menu)

Options for:

  • Without file extension
  • With file extension

Great for refactoring when the file contents is based upon filename:

/* Header.jsx */
const Header = () => {...} // <-- paste/replace instance(s) based on file name

References: https://github.com/nemesv/vscode-copy-file-name

Environment

Zed: v0.165.4 (Zed)
OS: macOS 14.4.0
Memory: 16 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help present your vision of the feature

image
image

@LewisAlderman LewisAlderman added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue
Projects
None yet
Development

No branches or pull requests

1 participant