Edit of asset "Fancy-Folder-Icons" Accepted

Old/Current New/Edit
Title Fancy-Folder-Icons Fancy-Folder-Icons
Description allows using custom images for folders in the godot file system dock using rules to match folders/files.

how to use:

Rules instructions
for match rules you can have the path be matched my string, or * for wildcard which matches any folder, or ** for wildcard that matches any amount of folders in a row.

rules can be changed at project settings plugin/fancy_folder_icons/rules

eg:
match rule "res://scenes/blocks/**/images/"
matches "res://scenes/blocks/block1/images/"
matches "res://scenes/blocks/block2/images/"
matches "res://scenes/blocks/block3/nested_folder/images/"
matches "res://scenes/blocks/block3/nested_folder/nested_folder2/images/"
replace rule "res://scenes/blocks/image.png"
loads image from "res://scenes/blocks/image.png"
match rule "res://scenes/blocks/**/images/"
replace rule "res://scenes/blocks/$1/images/editorBar.png||res://scenes/blocks/$1/images/1.png||res://scenes/blocks/$1/images/unpressed.png||res://scenes/blocks/$1/images/ghost.png"
when match rule matches "res://scenes/blocks/block1/images/"
tries to load image from "res://scenes/blocks/block1/images/editorBar.png"
if not successful tries to load image from "res://scenes/blocks/block1/images/1.png"
if not successful tries to load image from "res://scenes/blocks/block1/images/unpressed.png"
if not successful tries to load image from "res://scenes/blocks/block1/images/ghost.png"
if not successful logs an error
if one replace rule fails, if the file is not found, to match the errors are saved and only shown if no later replace rules match.
allows using custom images for folders in the godot file system dock using rules to match folders/files.

how to use:

Rules instructions
for match rules you can have the path be matched my string, or * for wildcard which matches any folder, or ** for wildcard that matches any amount of folders in a row.

rules can be changed at project settings plugin/fancy_folder_icons/rules

eg:
match rule "res://scenes/blocks/**/images/"
matches "res://scenes/blocks/block1/images/"
matches "res://scenes/blocks/block2/images/"
matches "res://scenes/blocks/block3/nested_folder/images/"
matches "res://scenes/blocks/block3/nested_folder/nested_folder2/images/"
replace rule "res://scenes/blocks/image.png"
loads image from "res://scenes/blocks/image.png"
match rule "res://scenes/blocks/**/images/"
replace rule "res://scenes/blocks/$1/images/editorBar.png||res://scenes/blocks/$1/images/1.png||res://scenes/blocks/$1/images/unpressed.png||res://scenes/blocks/$1/images/ghost.png"
when match rule matches "res://scenes/blocks/block1/images/"
tries to load image from "res://scenes/blocks/block1/images/editorBar.png"
if not successful tries to load image from "res://scenes/blocks/block1/images/1.png"
if not successful tries to load image from "res://scenes/blocks/block1/images/unpressed.png"
if not successful tries to load image from "res://scenes/blocks/block1/images/ghost.png"
if not successful logs an error
if one replace rule fails, if the file is not found, to match the errors are saved and only shown if no later replace rules match.
Category Tools Tools
License MIT MIT
Repository Provider GitHub GitHub
Repository Url https://github.com/rsa17826/Fancy-Folder-Icons https://github.com/rsa17826/Fancy-Folder-Icons
Issues Url https://github.com/rsa17826/Fancy-Folder-Icons/issues https://github.com/rsa17826/Fancy-Folder-Icons/issues
Godot version Godot 4.4 Godot 4.4
Version String 1 1
Download Commit bb892e3d49cf10622b5c2e660622a16e15e86b4c bb892e3d49cf10622b5c2e660622a16e15e86b4c
Download Url (Computed) https://github.com/rsa17826/Fancy-Folder-Icons/archive/bb892e3d49cf10622b5c2e660622a16e15e86b4c.zip https://github.com/rsa17826/Fancy-Folder-Icons/archive/bb892e3d49cf10622b5c2e660622a16e15e86b4c.zip
Icon Url https://raw.githubusercontent.com/rsa17826/Fancy-Folder-Icons/main/images/folder.png
https://raw.githubusercontent.com/rsa17826/Fancy-Folder-Icons/main/images/folder.png