Sublime Forum

File Icons change to asterisk

#1

Hi I am new here. Just installed ST3 in Linux Mint. I wonder, why my file icons in side bar look like this? Is this normal?

2 Likes

QUESTION: what is the "/*" in front of every file on folders pane?
Wildcard '/*' icon used for all files
#2

Yes, thatā€™s the source icon. You can try A File Icon for enhanced file-type icon support.

3 Likes

#3

Hi thanks. It changed the icons like this.

0 Likes

#4

Btw. Why it doesnā€™t look like this. As I remember, I am not sure because It has been a while, I had used ST in Windows it looked normal

2 Likes

#5

Starting 3127 Sublime UI theme was refreshed. I and many other users like it a lot, however some users donā€™t. Thatā€™s just a matter of taste.

2 Likes

#6

But does ANYONE actually like the /* icon? I think the icon should not look like text at all. The filename is text, the icon should look like an icon. I think this should be reconsidered. And even worse: it starts a comment block. I donā€™t think this was thought out well enough. But maybe Iā€™m just minority here. What do others think?

I want to emphasize that I have only seen the screenshots. I have not used the new theme/dev versions.

3 Likes

#7

ĀÆ_(惄)_/ĀÆ basically

0 Likes

#8

Maybe some outline/border could improve the icon. I donā€™t know. Donā€™t know the reason why the old icons had to be changed. (I think this has been discussed in another thread, maybe it has been reasoned there too.)

EDIT: This is the resoning by wbond:

The primary motivation for the various icon choices was to have a symbol that was abstract, but all visually distinct. Previously all of the icons used a similar page outline that made it difficult to scan for different file types. The new icons are crisper, eschew the paper outline, and should hopefully be fairly easy to distinguish without a detailed look.

Not sure if the crispyness and distinctiveness outweight the problems, though.

2 Likes

#9

What icon is this? I am using build 3142 and quite do not remembering seem it. Do you have some screenshot?

0 Likes

#10

What problems are you referring to? Iā€™m not sure Iā€™d consider liking the icon, or lacking a ā€œpaperā€ outline to be a problem. Those seem to be more of a preference.

1 Like

#11

That is the icon in the Default and Adaptive themes for source files.

1 Like

#12

Exactly. This is not a matter of taste. ā€˜/*ā€™ has a specific meaning - itā€™s a wildcard for all files, and doesnā€™t make sense to display besides a single file. A simple empty document icon ā€˜[ ]ā€™ as almost every other app uses would suffice perfectly.

1 Like

#13

It is also the beginning of a comment in very many programming languages (C/C++, PHP, CSS, JavaScript, Go, D, Java, Swift, Rust), which is why I chose it.

The entire UI can be changed, you can tweak this yourself, or use one of the hundreds of other themes. There is full documentation on the theme engine at http://www.sublimetext.com/docs/3/themes.html.

0 Likes

#14

I feel your pain. I am also bugged by the /* icon ā€“ mostly because A)) it looks like text and B) an asterisk is very often used to indicate a changed/unsaved file.

You can configure the icons for source files to be the same as for default (unknown) file types:
open command palette -> Package Resource Viewer: Open Resource -> Default -> Icon (Source).tmPreferences

inside, replace ā€œfile_type_sourceā€ with ā€œfile_type_defaultā€ and you should no longer see the /* icons.

3 Likes

The source code sidebar file icon is a major source of cognitive dissonance
#15

For me that is proving a painful decision. My mind is seeing a long list of unterminated comments. Itā€™s tripping my syntax error fuses and this hurts my productivity.

I took a look at ā€œFile Iconā€ but it is a source of more visual noise again.

Is the icon configurable? If not, please make the file icon configurable (edit: it is, thanks kolega). But even that wonā€™t help for pair work, I canā€™t force my preferences on a colleague.

1 Like

#16

Thank you so much for this solution! The /* as an icon is insanity IMHO. It feels like my entire project wonā€™t build because there are open comments everywhere.

Cheers!

1 Like

#17

Also not a fan of that icon. Not a deal breaker but having the start of a comment as the file icon just seems wrong. If it was surrounded in a box to make it look like a file it wouldnā€™t be as bad.

5 Likes

#18

The new theme for ST3 looks good, especially it also provided the ā€œadaptiveā€ one.

But regarding the asterisk icon, I agree with Paapaa and benfrain.
Now in latest ST3, all my code files showing "/" everywhere in my project file panel looks wierd.
1st, they do not look so intuitively as file icons. They have no background-shape. And they do not have border. At the first glance of my opening my code project with ST3, I was even guessing the /
is indicating a folder structure sense of parent-and-children.
2nd, a ā€œ/*ā€ might also not be quite suitable as a file type for code. In my own opinion, I suppose a ā€œ[]ā€ or ā€œ<>ā€ is much more often used as indicating a coding file type.

0 Likes

#19

Understood @wbond and Iā€™m glad it can be changed. :slight_smile: I think the main thing people are saying here is that itā€™s not an ideal default - as @benfrain said just adding a box around it would be fine.

0 Likes

#20

@inopinatus use the color option with ā€˜A File Iconā€™ - it will make the icons greyscale, less noisy and fit in the the ST3 final theme.

0 Likes