[scss] add region support
parent
20e326771a
commit
8dca274cda
|
@ -21,5 +21,11 @@
|
|||
["(", ")"],
|
||||
["\"", "\""],
|
||||
["'", "'"]
|
||||
]
|
||||
],
|
||||
"folding": {
|
||||
"markers": {
|
||||
"start": "^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/",
|
||||
"end": "^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -19,6 +19,10 @@
|
|||
"scopeName": "source.css.scss",
|
||||
"path": "./syntaxes/scss.json"
|
||||
}],
|
||||
"snippets": [{
|
||||
"language": "scss",
|
||||
"path": "./snippets/scss.snippets.json"
|
||||
}],
|
||||
"problemMatchers": [{
|
||||
"name": "node-sass",
|
||||
"label": "Node Sass Compiler",
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"Region Start": {
|
||||
"prefix": "#region",
|
||||
"body": [
|
||||
"/*#region $0*/"
|
||||
],
|
||||
"description": "Folding Region Start"
|
||||
},
|
||||
"Region End": {
|
||||
"prefix": "#endregion",
|
||||
"body": [
|
||||
"/*#endregion $0*/"
|
||||
],
|
||||
"description": "Folding Region End"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue