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