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
Comments
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? |
@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 |
The list of open files never shows "file type" icons, only an icon to show whether the buffer is dirty or not AFAICT. |
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. |
Related: #68 (same request for file tabs) |
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. |
@IRAQIG4MER Correct, it is currently implemented (and intended) that file type icons not show in the Open Files/Group section. |
Just an FYI for anyone browsing, I don't believe we intend to make this change. |
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.. |
@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. |
I known few friends of mine who migrate to Visual Studio because of this. :-( |
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. |
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. |
+1 for adding file icons to tabs for better visual grepping please |
+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. |
+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'). |
+1 |
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. |
+1 for adding file icons to open files & tabs @wbond |
@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: 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. |
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!
Expected behavior
Single file icon must be shown
Actual behavior
Single files icons are not shown
Steps to reproduce
none!
Environment
The text was updated successfully, but these errors were encountered: