ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

A File Icon

by ihodev, DeathAxe ST3 Trending Top 25

Sublime Text File-Specific Icons for Improved Visual Grepping

Labels theme, file, icons

Details

  • 4.0.1
    3.33.9
  • github.​com
  • github.​com
  • 15 hours ago
  • 2 hours ago
  • 10 years ago

Installs

  • Total 1.35M
  • Win 794K
  • Mac 290K
  • Linux 268K
Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28
Windows 16 44 38 69 56 47 49 71 36 31 59 33 55 53 47 40 27 62 58 56 73 52 39 40 56 75 66 47 57 29 39 64 51 139 80 60 37 38 103 97 46 49 56 16 28 45
Mac 10 10 24 27 27 29 20 15 9 15 19 12 25 24 28 21 11 33 28 24 33 45 19 10 22 25 29 31 30 15 9 17 17 20 26 28 16 9 23 25 30 19 21 14 15 19
Linux 5 26 23 26 20 20 17 16 15 14 11 19 17 20 15 26 25 15 26 17 27 24 25 25 17 20 21 34 32 20 22 14 20 23 22 20 16 20 15 25 22 14 14 18 25 23

Readme

Source
raw.​githubusercontent.​com

A File Icon

preview

Star on GitHub Join the chat at Sublime Forum

This Sublime Text package …

  1. provides basic infrastructure to select and customize file icon themes.
  2. ships colored and monochrome file icons, heavily inspired by Atom File Icons.

Installation

Package Control

The easiest way to install is using Sublime's Package Control. It's listed as A File Icon.

  1. Open Command Palette using ctrl+shift+P or menu item Tools → Command Palette...
  2. Run Package Control: Install Package
  3. Find A File Icon and hit Enter

Manual Install

  1. Download AFileIcon.sublime-package
  2. Rename it to A File Icon.sublime-package
  3. Copy it into Installed Packages directory

[!NOTE]

To find Installed Packages…

  1. call Menu > Preferences > Browse Packages..
  2. Navigate to parent folder

Usage

Select Icon Theme

  1. Open Command Palette using ctrl+shift+P or menu item Tools → Command Palette...
  2. Run UI: Select Icon Theme
  3. Choose a theme and hit Enter

Customize Icon Theme

  1. Open Command Palette using ctrl+shift+P or menu item Tools → Command Palette...
  2. Run UI: Customize Icon Theme
  3. Choose a theme and hit Enter

An icon theme maps file extension to image names in the following format:

{
    "icons": {
        "extension": "icon_file_name",
    }
}

Customize Icon Settings

To change color, opacity level and size of icons, modify A File Icon settings:

  1. Open Command Palette using ctrl+shift+P or menu item Tools → Command Palette...
  2. Run Preferences: A File Icon Settings

[!NOTE]

Settings are applied globally to all icon themes.

Theme Developers

As of Sublime Text 4206 dedicated icon themes are supported, which A File Icon 4.0 relies on.

A side effect is it no longer merging its icons into those shipped with themes.

Ideally, icon themes are deployed by dedicated packages to fully separate them from themes or color schemes.

If theme packages ship icons, a related .sublime-file-icons file is to be defined for them to be selectable by end users.

The .supports-a-file-icon-customization is still evaluated to decide how to create icon related theme patches as former versions of A File Icons did.

Resources

Colors

Colors are bright because they should look good with most themes. However you can change color and opacity level of all icons. See customization.

Palette

Icons

This package contains icons provided by:

Source icons are provided in SVG format (Sublime Text doesn't currently support it). They are convert to @1x and @2x PNG assets before each release via python build script uv run build --icons.

Rasterized icons can be found in icons folder.