Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show File Type Icons in Open Files Section of Side Bar #1595

Open
1 task
AyhamAl-Ali opened this issue Feb 11, 2017 · 21 comments
Open
1 task

Show File Type Icons in Open Files Section of Side Bar #1595

AyhamAl-Ali opened this issue Feb 11, 2017 · 21 comments

Comments

@AyhamAl-Ali
Copy link

AyhamAl-Ali commented Feb 11, 2017

Summary

when i open a file directly without any folders the icon of that file don't show up, but when i open a folder that has the same file the icon show up!

2017-02-12_024208

Expected behavior

Single file icon must be shown

Actual behavior

Single files icons are not shown

Steps to reproduce

none!

Environment

  • Operating system and version:
    • Windows 7 64bit
  • Sublime Text:
    • Build 3
@wbond
Copy link
Member

wbond commented Feb 15, 2017

Your bug report is unclear. The screenshot you provided shows folders and files present in the sidebar.

Could you provide a screenshot of what appears when you open a file without any folders?

@AyhamAl-Ali
Copy link
Author

@wbond If you look more in the screenshot you will see there is a lot of files opened without a folders like in group 2.. And there is files from the same file type are opened in folders and there is icons beside them
2017-02-17_023527

@keith-hall
Copy link
Collaborator

The list of open files never shows "file type" icons, only an icon to show whether the buffer is dirty or not AFAICT.

@wbond
Copy link
Member

wbond commented Feb 17, 2017

As @keith-hall has indicated, different sections of the sidebar show different things.

The Open Files/Groups section shows one entry per open file. The theme has the option of showing an icon to the left of it that can be clicked to close the file. There is also information the theme may use to indicate the file has been modified and has not been saved. This section is effectively vertical tabs, and can be enabled or disabled via the View menu.

The Folders section shows all folders and files along with icons based on the theme. The icons currently require a combination of theme info and tmPreferences to control what theme class is used for each type of file.

@FichteFoll
Copy link
Collaborator

Related: #68 (same request for file tabs)

@AyhamAl-Ali
Copy link
Author

Thank you guys for help, and @wbond in my theme there is this option ( "icon_file_type_enable": true, ) and i enabled it before (still enabled) but i still can only see icons in the folders section, i don't know if it's possible to see icons on the opened files in group section.

@wbond
Copy link
Member

wbond commented Feb 22, 2017

@IRAQIG4MER Correct, it is currently implemented (and intended) that file type icons not show in the Open Files/Group section.

@wbond wbond changed the title Sidebar Icons not showing at all by default Show File Type Icons in Open Files Section of Side Bar Mar 8, 2017
@wbond
Copy link
Member

wbond commented Mar 8, 2017

Just an FYI for anyone browsing, I don't believe we intend to make this change.

@GhostValk
Copy link

Is there no plan to implement icons for open files by type anywhere in the near future?

This would be extremely useful for me, and i'm not sure on how difficult would be to implement..

@wbond
Copy link
Member

wbond commented Jul 17, 2017

@GhostValk That is correct. We (or more specifically, I) don't plan to implement file type icons on Open Files because it is effectively vertical tabs. In the same way we don't implement file type icons for tabs, we aren't implementing them for vertical tabs either.

@dskiba
Copy link

dskiba commented Aug 2, 2017

I known few friends of mine who migrate to Visual Studio because of this. :-(
icons for tabs would be so awesome.

@atomeon
Copy link

atomeon commented Sep 11, 2017

can't believe i read these comments in 2k17

@robclancy
Copy link

can't believe i read these comments in 2k17

I'm reading them in 2019. Coming back to sublime to compare things but the tabs are so bad you have to slowly read to identify them. Along with some other things that should probably have been changed 5 years ago I think this will just be a little test for the day then back to vscode.

@jpagarcia
Copy link

yes, please do add the the file type icon to the sublime tabs. it'd not only look better, but it'll be more intuitive as one will immediately know what type of file he's looking at.

@tsujp
Copy link

tsujp commented Sep 15, 2019

+1 for adding file icons to tabs for better visual grepping please

@Acecool
Copy link

Acecool commented Dec 28, 2019

+1 for adding file icons to opened files...

Right now, the text bleeds together. Having file icons would greatly benefit those of us with disabilities or deficits. I don't have major visual deficits other than being short-sighted, however when text bleeds together, it makes it harder to differentiate between one file and another.

By adding colored icons, it makes identifying files much easier.

I would also love to be able to group them based on path, type, etc.. and have other colors displayed. Alternating row colors, and more.

@FlopRe
Copy link

FlopRe commented Apr 6, 2020

+1 for adding file icons to open files & tabs @wbond

Sublime looks super un-intuitive without this compared to Visual Code, and the only reason I still use it is because other editors do not allow me to use my AutoHotkey binds. I also do not see a single valid reason not to have this, especially since this is present in Projects ?? (I don't use Projects, I work on files straight from the temp folder of my FTP client and they often get ignored for uploading and just save locally, so all my files are open in 'Opened files').

@tobiasrenkin
Copy link

+1
Especially when many tabs are open and file names are truncated, it becomes difficult to find tabs. Icons would make that much easier. Plus it shouldn't be very difficult to implement and easy to disable for anyone who doesn't like it.

@pusha
Copy link

pusha commented Jan 10, 2022

I've just seen someone working in Storm, it made a huge difference to me, - the ability to distinguish open tabs without reading into tab names and file contents.

@zhanggang807
Copy link

+1 for adding file icons to open files & tabs @wbond

@bdkjones
Copy link

In the same way we don't implement file type icons for tabs, we aren't implementing them for vertical tabs either.

@wbond This is a mistake. Distinct, colored icons for different types of files make it VASTLY easier for humans to find the one they're after. Consider this comparison:

Screenshot 2023-08-30 at 21 04 37 Screenshot 2023-08-30 at 21 04 55

This is with just 3 files open. Now imagine 12. You have to READ each tab in Sublime whereas in Nova you just need to scan for the "green globe" to find the HTML file.

This is SUCH a mistake, that Apple—the company that never admits they're wrong and takes 17 years to respond to ANY feedback—reversed course with favicons in Safari tabs: https://daringfireball.net/2017/08/safari_should_display_favicons_in_its_tabs

Prohibiting filetype icons in tabs is a go/no-go decision for me (and many other developers). I came back to try Sublime 4 after using other editors for a while and I remember this frustration now. The icons are not clutter. They are functional. They MUST be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests