1
0
mirror of https://github.com/coder/code-server.git synced 2024-12-05 07:13:06 +08:00
code-server/lib/vscode/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": "^}$"
}
]
}]
}
}