-
-
Notifications
You must be signed in to change notification settings - Fork 20.2k
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
Add option to copy a file's name in the FileSystem dock #96536
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't tested but code looks good
Looks like niche option. You can copy path and delete everything besides the name (it takes 1-2 seconds). IMO it's not frequent enough operation to warrant bloating the menu. Most of the time you need the whole path. |
I agree that bloating the menu is probably not worth the tradeoff. Maybe @YeldhamDev can make a convincing case to add this. |
Maybe "Copy Filename"? Copy Name brings me the question of whether it copies |
With this context menu getting longer (and it'll probably get longer again in the future when we introduce refactoring features) it might be best to put all the copy string functions into a sub menu. That is if we even think this feature should be in core. It seems pretty niche and you can already hit F2 and copy which is just as fast. |
btw we have new EditorContextMenuPlugin that allows implementing this feature with an addon. |
Would resolve godotengine/godot-proposals#10173 |
Sponsored By: 🐺 Lone Wolf Technology / 🍀 W4 Games.