Closed amiramw closed 3 years ago
@amiramw it is not truly a fair comparison (between theia and vscode) since you are not comparing with the same file-icon theme in both instances. This is what is seen when using seti
(the default icon theme for vscode):
Theia (Default Theme) | Theia (Seti Theme) |
---|---|
![]() |
![]() |
We get the icons from file-icons.js, you can see why config files are displayed this way:
So no fix? One has to use seti theme as default?
We get the icons from file-icons.js, you can see why config files are displayed this way:
This. I confirm.
So no fix?
Once I had to introduce a custom WorkspaceUriLabelProviderContribution
as a workaround in a downstream project, just because of the config
part in the file name pulled in the config icon. I have not found a better fix at that time.
I've been wondering if we should have a better default file-icon theme as file-icons.js is not actively maintained (last release was over 3 years ago).
The alternative would be to fork the repo under theiaide
and perform minor maintenance on it (such as customizing when the config icon is used), and perform releases to npm.
have a better default file-icon theme
Do you have anything in mind?
have a better default file-icon theme
Do you have anything in mind?
I could not find anything quickly to suit our needs, perhaps forking would be sufficient at the moment (and not require changes to the codebase).
@Kreyren wrote here:
Transfer from gitpod-io/gitpod#1570 as requested by @akosyakov
It's not a Theia issue. Closing.
Bug Description:
It seems that files with the text 'config' in their name gets special icon regardless of their suffix. For what it worth this does not happen on VS Code
Steps to Reproduce:
Create two files in project:
Expection: Both should have the same icon Actual: They have different icons in explorer.
In theia:![image](https://user-images.githubusercontent.com/9420921/81990449-e2cab000-9647-11ea-979a-855ddf867801.png)
In vscode:![image](https://user-images.githubusercontent.com/9420921/81990481-ebbb8180-9647-11ea-9602-5d9cc27c8fa1.png)
Additional Information