Skip to content
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

Syntax error in scss/sass map #17706

Closed
andrefarzat opened this issue Dec 21, 2016 · 3 comments
Closed

Syntax error in scss/sass map #17706

andrefarzat opened this issue Dec 21, 2016 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@andrefarzat
Copy link

  • VSCode Version: Code 1.8.1 (ee428b0, 2016-12-19T14:42:49.304Z)
  • OS Version: Darwin x64 16.3.0
  • Extensions:
Extension Author Version
gitignore codezombiech 0.5.0
python donjayamanne 0.5.5
tslint eg2 0.7.1
theme-material-theme jprestidge 1.0.1
vscode-scss mrmlnc 0.6.0
vscode-icons robertohuertasm 4.2.0

Steps to Reproduce:

  1. Create a new scss file
  2. Create a map. ex:
$colors: (
    home: #083b7a,
    assignments: #28abdf,
    groups: #ee5935,
    clients: #1a77b9,
    office: #902c8e,
    staff: #bc2333,
    events: #28abdf,
    library: #9c2361,
);
  1. The syntax parser complains about it (line 34 and 35 of the following print):
    screen shot 2016-12-21 at 6 01 51 pm
@ChiriVulpes
Copy link

+1. When this is implemented it may be a good idea to add map support for @each as well:

$map: (
  prop1: val1,
  prop2: val2
);
@each $prop, $val in $map {
  do-something-with: $prop $val;
}

@mrmlnc
Copy link
Contributor

mrmlnc commented Dec 26, 2016

@egamma, it seems to me, this is duplicate of #1758 🐼

@egamma egamma added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 29, 2016
@egamma
Copy link
Member

egamma commented Dec 29, 2016

Marking as a duplicate of #1758 as suggested.

Thanks @mrmlnc

@egamma egamma closed this as completed Dec 29, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

5 participants