Before creating a package

This commit is contained in:
Dag Evensberget 2019-11-28 15:37:37 +10:00
parent 9e7d87d6ca
commit d9869005e2
3 changed files with 20 additions and 30 deletions

View File

@ -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": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
]
}

View File

@ -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"

View File

@ -25,7 +25,7 @@
},
"command": {
"patterns": [{
"name":"cat.comment.swmf",
"name":"source.swmf",
"begin": "^(#[a-zA-Z0-9_]+)(\\s.*)?\n",
"end": "(?=(^\\s*\n|^#.*\n))"
,