You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Be able to define a list of tags in ProjectSettings which can be assigned to files ( scenes, resources and probably external file like PNG,WAV etc... ) and directories.
Why
1 - Better navigation in the file system:
Navigating in big projects is tedious, the "favorite" option is supposed to help with this, but I've never found it practical, and I think a tag system could be an improved version of it (it would be possible to have default tags like "favorite" "debug" etc...)
Another example in the case of level creation, it would be possible to create an "LD" tag to easily find all the level design elements.
2 - Get file lists via code
It's often for debug features that I feel the need for it, but being able to get the list of all the files of a resource type (ex: ResourceItem) or all the scenes that are of a certain class (ex: Map) would be nice, and the tag system could allow to do this.
How it could work
Create tags
In the file system, tags could appear discreetly to the right of the files (the complete list could be displayed on hover)
Assigning tags to files / directories
Via the interface in the file system
With annotation for custom classes
And via code ( maybe with DirAccess / FileAccess ? ) DirAccess.add_tag(file_path,tag) DirAccess.remove_tag (file_path,tag)
Filter by tag
In file system
With code
Similar discussion
#10457 This proposal is not the same but offers another way to improve navigation in the file system
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Be able to define a list of tags in ProjectSettings which can be assigned to files ( scenes, resources and probably external file like PNG,WAV etc... ) and directories.
Why
1 - Better navigation in the file system:
Navigating in big projects is tedious, the "favorite" option is supposed to help with this, but I've never found it practical, and I think a tag system could be an improved version of it (it would be possible to have default tags like "favorite" "debug" etc...)
Another example in the case of level creation, it would be possible to create an "LD" tag to easily find all the level design elements.
2 - Get file lists via code
It's often for debug features that I feel the need for it, but being able to get the list of all the files of a resource type (ex: ResourceItem) or all the scenes that are of a certain class (ex: Map) would be nice, and the tag system could allow to do this.
How it could work
Create tags
In the file system, tags could appear discreetly to the right of the files (the complete list could be displayed on hover)
Assigning tags to files / directories
Via the interface in the file system
With annotation for custom classes
And via code ( maybe with DirAccess / FileAccess ? )
DirAccess.add_tag(file_path,tag)
DirAccess.remove_tag (file_path,tag)
Filter by tag
In file system
With code
Similar discussion
#10457 This proposal is not the same but offers another way to improve navigation in the file system
Beta Was this translation helpful? Give feedback.
All reactions