godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.16k stars 97 forks source link

Add "Copy Path" button to the project manager #8613

Open sosasees opened 11 months ago

sosasees commented 11 months ago

Describe the project you are working on

sosasees fun lab

Describe the problem or limitation you are having in your project

navigating to the project folder in the file manager or terminal can be a bit tedious, especially if it's deep in the file structure.

i can click 'Copy Path' in FileSystem dock when the project is opened in Godot but sometimes i want to do something with the project files while Godot is closed (e.g. a dev session focused on creating assets in another program, or using git before opening the project in Godot)

Describe the feature / enhancement and how it helps to overcome the problem or limitation

a per-project 'Copy Path' button in the project manager would make it so i don't have to make a long journey to the project folder in the file manager or terminal: i can copy the project path with this button and paste it in

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

add 'Copy Path' button in project manager sidebar (this picture is in WEBP format with its smaller filesize but renamed to PNG so GitHub would accept it)

If this enhancement will not be used often, can it be worked around with a few lines of script?

the project manager can't be easily scripted without modifying Godot itself or making a standalone project manager

Is there a reason why this should be core and not an add-on in the asset library?

AssetLib add-ons can't be added to the project manager

Calinou commented 11 months ago

I'm not sure if we should add yet another button to the list, but we can make it so pressing Ctrl + C while a project is selected in the list copies its path.

PS: Out of curiosity, why do you need to navigate to a project folder from the terminal every time you open the project?

sosasees commented 11 months ago

why do you need to navigate to a project folder from the terminal every time you open the project?

not every time but sometimes, for different reasons.

sosasees commented 11 months ago

I'm not sure if we should add yet another button to the list, but we can make it so pressing Ctrl + C while a project is selected in the list copies its path.

maybe we could turn the filepath in every list item into a link that copies the filepath (just like the Godot version is a link that copies the Godot version)

miv391 commented 11 months ago

How about adding popup menu to project list items and then add rarely used features there.