Before creating a package
This commit is contained in:
parent
9e7d87d6ca
commit
d9869005e2
|
@ -1,30 +1,20 @@
|
||||||
{
|
{
|
||||||
"comments": {
|
"comments": {
|
||||||
// symbol used for single line comment. Remove this entry if your language does not support line comments
|
// symbol used for single line comment. Remove this entry if your language does not support line comments
|
||||||
"lineComment": "//",
|
// used here to allow quick commenting/uncommenting of lines.
|
||||||
// symbols used for start and end a block comment. Remove this entry if your language does not support block comments
|
"lineComment": "!",
|
||||||
"blockComment": [ "/*", "*/" ]
|
|
||||||
},
|
},
|
||||||
// symbols used as brackets
|
// This works nicely.
|
||||||
"brackets": [
|
"folding": {
|
||||||
["{", "}"],
|
"markers": {
|
||||||
["[", "]"],
|
"start": "^#BEGIN_COMP",
|
||||||
["(", ")"]
|
"end": "^#END_COMP"
|
||||||
],
|
}
|
||||||
// symbols that are auto closed when typing
|
},
|
||||||
|
// This is mostly for show.
|
||||||
"autoClosingPairs": [
|
"autoClosingPairs": [
|
||||||
["{", "}"],
|
["#BEGIN_COMP SC", "\n#END_COMP SC"],
|
||||||
["[", "]"],
|
["#BEGIN_COMP IH", "\n#END_COMP IH"],
|
||||||
["(", ")"],
|
["#BEGIN_COMP GM", "\n#END_COMP GM"],
|
||||||
["\"", "\""],
|
|
||||||
["'", "'"]
|
|
||||||
],
|
],
|
||||||
// symbols that that can be used to surround a selection
|
|
||||||
"surroundingPairs": [
|
|
||||||
["{", "}"],
|
|
||||||
["[", "]"],
|
|
||||||
["(", ")"],
|
|
||||||
["\"", "\""],
|
|
||||||
["'", "'"]
|
|
||||||
]
|
|
||||||
}
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "swmf",
|
"name": "swmf-grammar",
|
||||||
"displayName": "swmf",
|
"displayName": "swmf-grammar",
|
||||||
"description": "SWMF Configuration",
|
"description": "SWMF Configuration grammar for VS Code",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"engines": {
|
"engines": {
|
||||||
"vscode": "^1.40.0"
|
"vscode": "^1.40.0"
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
},
|
},
|
||||||
"command": {
|
"command": {
|
||||||
"patterns": [{
|
"patterns": [{
|
||||||
"name":"cat.comment.swmf",
|
"name":"source.swmf",
|
||||||
"begin": "^(#[a-zA-Z0-9_]+)(\\s.*)?\n",
|
"begin": "^(#[a-zA-Z0-9_]+)(\\s.*)?\n",
|
||||||
"end": "(?=(^\\s*\n|^#.*\n))"
|
"end": "(?=(^\\s*\n|^#.*\n))"
|
||||||
,
|
,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user