code-server-2/extensions/scss/package.json

65 lines
2.0 KiB
JSON
Raw Normal View History

{
"name": "scss",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.0.0",
"publisher": "vscode",
"license": "MIT",
"engines": { "vscode": "*" },
"scripts": {
"update-grammar": "node ../../build/npm/update-grammar.js atom/language-sass grammars/scss.cson ./syntaxes/scss.tmLanguage.json grammars/sassdoc.cson ./syntaxes/sassdoc.tmLanguage.json"
},
"contributes": {
"languages": [{
"id": "scss",
"aliases": ["SCSS", "scss"],
"extensions": [".scss"],
"mimetypes": ["text/x-scss", "text/scss"],
"configuration": "./language-configuration.json"
}],
"grammars": [{
"language": "scss",
"scopeName": "source.css.scss",
"path": "./syntaxes/scss.tmLanguage.json"
}, {
"scopeName": "source.sassdoc",
"path": "./syntaxes/sassdoc.tmLanguage.json"
}],
"problemMatchers": [{
"name": "node-sass",
"label": "Node Sass Compiler",
"owner": "node-sass",
"fileLocation": "absolute",
"pattern": [{
"regexp": "^{$"
},
{
"regexp": "\\s*\"status\":\\s\\d+,"
},
{
"regexp": "\\s*\"file\":\\s\"(.*)\",",
"file": 1
},
{
"regexp": "\\s*\"line\":\\s(\\d+),",
"line": 1
},
{
"regexp": "\\s*\"column\":\\s(\\d+),",
"column": 1
},
{
"regexp": "\\s*\"message\":\\s\"(.*)\",",
"message": 1
},
{
"regexp": "\\s*\"formatted\":\\s(.*)"
},
{
"regexp": "^}$"
}
]
}]
}
}