-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Update SCSS syntax extension #49076
Update SCSS syntax extension #49076
Conversation
extensions/scss/package.json
Outdated
"version": "1.0.0", | ||
"publisher": "vscode", | ||
"engines": { "vscode": "*" }, | ||
"scripts": { | ||
"update-grammar": "node ../../build/npm/update-grammar.js atom/language-sass grammars/scss.cson ./syntaxes/scss.tmLanguage.json" | ||
"update-grammar": "npm run update-scss && npm run update-sassdoc", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update-grammar.js can already update multiple grammars from the same file. See https://github.com/Microsoft/vscode/blob/master/extensions/perl/package.json#L9 for the syntax.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the tip — updated the script syntax 👍
8b47fd6
to
e8bf2a2
Compare
@stormwarning Awesome, thanks a lot for the PR! |
Rebuilds the SCSS syntax from the source repo (https://github.com/atom/language-sass).
The latest version of the syntax includes a separate file for SassDoc comment blocks, so
I've modified the scripts and grammars in
package.json
to account for that.Closes #49071