godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.07k stars 69 forks source link

Show `user://` in the FileSystem dock #2362

Open lentsius-bark opened 3 years ago

lentsius-bark commented 3 years ago

Describe the project you are working on

Rhythm based game controlled by dancepads allowing players to learn new vocabulary through physical activity. Providing the much needed connection of education, physical activity and a game. (like beat saber but with an educational touch)

Describe the problem or limitation you are having in your project

I often visit the user directory to inspect and tweak:

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

Due to the usefulness of custom resources and common practice of saving data user data, having access to the user:// folder where they reside in the file system dock would speed up my workflow greatly.

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

image

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

I haven't touched enough of addon code to know whether this is doable with a few lines of script. If it is, let me know!

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

Do addons allow creating something of this sort? Lack of my own knowledge prevents me from answering this core question.

Calinou commented 3 years ago

Good idea, but one issue with displaying user:// is that non-resource files won't show up just like in res://. We need to add a toggle to display non-resource files in the FileSystem dock first (and probably always enable this for user://).

YuriSizov commented 3 years ago

and probably always enable this for user://

Would be a bit confusing if this ends up looking like the mockup in the OP, with two equal folders, but the toggle only affects one folder, though.

lentsius-bark commented 3 years ago

@Calinou Agreed! @pycbouh Given that this feature wouldn't be used by first time users, ability to see the user folder could be toggled somewhere, project settings perhaps?

YuriSizov commented 3 years ago

I wasn't talking about displaying the folder, I was talking about a filter that would show all files not just valid resources, the one that Calinou mentioned.

willnationsdev commented 3 years ago

Perhaps show an icon next to the top-level folder identifying whether it is displaying only resources or all files, and then you have to toggle it individually with it defaulting to different values for each folder?

YuriSizov commented 3 years ago

Like a visibility icon in the Scene dock? I like it.

Gallilus commented 3 years ago

So I think this is the place to go after #25665 and #2025 ?

So to recap the conversation. One toggle in project settings to see User:// One toggle(system) in FileSystem to unhide (all) files?

I would like to see LICENCE and README of plugins.