-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
[scss] scss map syntax showing as an error #1758
Comments
We don't support the map syntax yet |
Any roadmap on when this will be solved? |
Thanks for the pointer to |
Any info on this topic :)? |
bumping this, check to see the current pulse - thanks. |
any update on this one? I made the setting in settings.json i.e. "sass.validate": false as suggested but still got the same error. |
update: "scss.validate": false worked!! |
Is there a way to vote this up? The basic template provided in a Foundation 6 project contains maps assigned to variables in the default _settings.scss file. I'm new to Sass and Visual Studio Code but so far this seems like a common use case. Thank you. |
there's also a validation error when trying to declare a rule with a variable in its name |
@aeschli @egamma Do you accept pull requests for this? And if so what do I need to do? I have the multi-arg EDIT: I now more or less know how this is set up, and have real implementations for maps and multi-arg |
@Aarilight
In general yes, but I defer to @aeschli whether he has specific concerns. @Aarilight pls keep in mind that we are slower to respond over the holidays and most of the team is on vacation. |
@aeschli that doesn't add map support to |
Thanks for pointing that out. I added support for multiple variables. |
If I add a map to a scss file, e.g. "$map: (key1: value1, key2: value2, key3: value3);" it shows as an error. Red squiggly appears under the ":" after the first key and hover message reads ") expected". Despite the error in editor node-sass evaluates map-get correctly over it.
The text was updated successfully, but these errors were encountered: