# Add icon support for files without extensions \(\#8453\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/bd8896a3dc0181964600151187898552a4090667)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: bd8896a3dc0181964600151187898552a4090667

Requested commit: bd8896a3dc0181964600151187898552a4090667

Commit: bd8896a3dc0181964600151187898552a4090667

Tree: 97a74bc405edbf2567999f4280dcfc4f0608ebc1

Author: Sai Gokula Krishnan

Committer: GitHub

## Message

```
Add icon support for files without extensions (#8453)

Release Notes:

- Added support for showing file icons for files without suffixes.

Before:

<img width="281" alt="image"
src="https://github.com/zed-industries/zed/assets/25414681/ab4c00ed-72c7-458f-8dda-61c68165590f">


After:

<img width="242" alt="Screenshot 2024-02-27 at 1 51 20 AM"
src="https://github.com/zed-industries/zed/assets/25414681/8f3082c4-9424-4bc3-9100-a527b9adc315">


This screenshot is to show if the file has extension, then the extension
takes precedence.

<img width="193" alt="image"
src="https://github.com/zed-industries/zed/assets/25414681/72fcebd1-361f-444b-8890-f59932963083">


<br>

- Added icons for
    - Docker - https://www.svgrepo.com/svg/473589/docker
    - License - https://www.svgrepo.com/svg/477704/license-1
    - Heroku - https://www.svgrepo.com/svg/341904/heroku
 
 - Updated tests
```

## Parents

- [d545fe9fe4645a921870fd9d9867a30c9d174b97](https://git.cafe/gitcafe/zed/commit/d545fe9fe4645a921870fd9d9867a30c9d174b97?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/bd8896a3dc0181964600151187898552a4090667?format=markdown)
