Skip to content

04 Customizing Icons For File Folder

phoenixide edited this page Sep 17, 2024 · 1 revision

The icons in the file tree can be customised. Even add icons for unsupported extensions!

file-Icon.png

How to add custom icons

In the Brackets preferences(Debug Menu > Open preferences file) file you'll need to add this to the bottom:

"brackets-icons.icons": {}

Now you're ready to add some customizations. Here's an example icon preference:

"brackets-icons.icons": {
	"html": {
			"icon": "fa fa-code",
			"color": "#E84D49",
			"size": 16
	}
}

You can use the classes in Font Awesome, Devicons and file-icons to specify the icon.

You can also add an extension that's not already supported the same way.

	"html": {
			"icon": "fa fa-code",
			"color": "#E84D49",
			"size": 16
	},
	"spaghetti": {
			"icon": "fa fa-motorcycle",
			"color": "#DA70D6",
			"size": 13
	}

credits

Clone this wiki locally