-
-
Notifications
You must be signed in to change notification settings - Fork 908
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
CSS/PostCSS fallback not working #559
Comments
There is an icon for PostCSS (icon here). This makes me think there's something disconnecting languageIDs and forced file associations. |
@JonathanWolfe That icon is associated with |
Hi both of you. Icons can only be linked to languages via language services. VSCode provides a few out of the box but you can add others via extension (that was your case @JonathanWolfe). With the latest release we tried to leverage the power of languages in order to allow users further customization. Before that, we only used direct icon extension association so the user never had the opportunity to choose anything else. We decided that @jbw91, fallback functionality cannot be accomplished with the current vscode api but we're working in a series of enhancements that will allow user customization. Stay tuned. For the moment, our only option is make the changes to support postcss language id. Are you using this extension? |
@robertohuertasm Yes, I am using the PostCSS extension. |
Ok @jbw91, we'll provide a language association for you as soon as possible. |
Working on this I stumbled upon the following behavior: Is this the expected behavior? |
Yes it is. If |
I installed the postcss language syntax extension and am wondering why the PostCSS icon isn't showing up in the Exlorer pane. New to VS Code. Not sure if my issue is related to this older issue, but didn't want to post a dup. As you can see from my screenshot, I've attempted to fix the issue by associating Suggestions? |
@megalofauna You're not using vscode-icons but the default theme, perhaps you want to install it? |
@jens1o It has already been addressed in another issue the user opened. |
@JimiC Pardon me, didn't saw the relationship :/ |
Sorry for the confusion on my end, folks. As @JimiC noted, my issue is resolved. 👍 |
Checklist
Screenshot
Description
As you can see from the image above, the CSS icons are no longer working. From #556 I gather it's due to my workspace settings where I specify the following file association:
Obviously I assume there's no icon for postcss, however before the latest update to
4.2.0
, it would properly fall back to the CSS icon. Now it simply shows the non-associated file icon.Expected functionality
If I associate my files with something else that doesn't have an icon, it should fall back to the default for that file extension.
The text was updated successfully, but these errors were encountered: