From 475735e0b28634e5fc2d22914037094a7e222fe9 Mon Sep 17 00:00:00 2001 From: Ryohei Ueda Date: Sat, 28 Oct 2023 17:59:44 -0700 Subject: [PATCH] Update language configuration --- resources/cpp/language-configuration.json | 2 +- resources/html/language-configuration.json | 2 +- resources/java/language-configuration.json | 2 +- resources/markdown-basics/language-configuration.json | 2 +- resources/php/language-configuration.json | 2 +- resources/sql/language-configuration.json | 2 +- resources/typescript-basics/language-configuration.json | 2 +- resources/vb/language-configuration.json | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/resources/cpp/language-configuration.json b/resources/cpp/language-configuration.json index 776c0df..e60855b 100644 --- a/resources/cpp/language-configuration.json +++ b/resources/cpp/language-configuration.json @@ -1 +1 @@ -{"comments":{"lineComment":"//","blockComment":["/*","*/"]},"brackets":[["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[{"open":"[","close":"]"},{"open":"{","close":"}"},{"open":"(","close":")"},{"open":"'","close":"'","notIn":["string","comment"]},{"open":"\"","close":"\"","notIn":["string"]},{"open":"/*","close":"*/","notIn":["string","comment"]}],"surroundingPairs":[["{","}"],["[","]"],["(",")"],["\"","\""],["'","'"],["<",">"]],"wordPattern":"(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)","folding":{"markers":{"start":"^\\s*#pragma\\s+region\\b","end":"^\\s*#pragma\\s+endregion\\b"}}} \ No newline at end of file +{"comments":{"lineComment":"//","blockComment":["/*","*/"]},"brackets":[["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[{"open":"[","close":"]"},{"open":"{","close":"}"},{"open":"(","close":")"},{"open":"'","close":"'","notIn":["string","comment"]},{"open":"\"","close":"\"","notIn":["string"]},{"open":"/*","close":"*/","notIn":["string","comment"]}],"surroundingPairs":[["{","}"],["[","]"],["(",")"],["\"","\""],["'","'"],["<",">"]],"wordPattern":"(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)","folding":{"markers":{"start":"^\\s*#pragma\\s+region\\b","end":"^\\s*#pragma\\s+endregion\\b"}},"onEnterRules":[{"previousLineText":"^\\s*(((else ?)?if|for|while)\\s*\\(.*\\)\\s*|else\\s*)$","beforeText":"^\\s+([^{i\\s]|i(?!f\\b))","action":{"indent":"outdent"}}]} \ No newline at end of file diff --git a/resources/html/language-configuration.json b/resources/html/language-configuration.json index c38678b..08c7dd5 100644 --- a/resources/html/language-configuration.json +++ b/resources/html/language-configuration.json @@ -1 +1 @@ -{"comments":{"blockComment":[""]},"brackets":[[""],["<",">"],["{","}"],["(",")"]],"autoClosingPairs":[{"open":"{","close":"}"},{"open":"[","close":"]"},{"open":"(","close":")"},{"open":"'","close":"'"},{"open":"\"","close":"\""},{"open":"","notIn":["comment","string"]}],"surroundingPairs":[{"open":"'","close":"'"},{"open":"\"","close":"\""},{"open":"{","close":"}"},{"open":"[","close":"]"},{"open":"(","close":")"},{"open":"<","close":">"}],"colorizedBracketPairs":[],"folding":{"markers":{"start":"^\\s*","end":"^\\s*"}},"wordPattern":"(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\$\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\s]+)","onEnterRules":[{"beforeText":{"pattern":"<(?!(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr))([_:\\w][_:\\w-.\\d]*)(?:(?:[^'\"/>]|\"[^\"]*\"|'[^']*')*?(?!\\/)>)[^<]*$","flags":"i"},"afterText":{"pattern":"^<\\/([_:\\w][_:\\w-.\\d]*)\\s*>","flags":"i"},"action":{"indent":"indentOutdent"}},{"beforeText":{"pattern":"<(?!(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr))([_:\\w][_:\\w-.\\d]*)(?:(?:[^'\"/>]|\"[^\"]*\"|'[^']*')*?(?!\\/)>)[^<]*$","flags":"i"},"action":{"indent":"indent"}}],"indentationRules":{"increaseIndentPattern":"<(?!\\?|(?:area|base|br|col|frame|hr|html|img|input|keygen|link|menuitem|meta|param|source|track|wbr)\\b|[^>]*\\/>)([-_\\.A-Za-z0-9]+)(?=\\s|>)\\b[^>]*>(?!.*<\\/\\1>)|)|\\{[^}\"']*$","decreaseIndentPattern":"^\\s*(<\\/(?!html)[-_\\.A-Za-z0-9]+\\b[^>]*>|-->|\\})"}} \ No newline at end of file +{"comments":{"blockComment":[""]},"brackets":[[""],["{","}"],["(",")"]],"autoClosingPairs":[{"open":"{","close":"}"},{"open":"[","close":"]"},{"open":"(","close":")"},{"open":"'","close":"'"},{"open":"\"","close":"\""},{"open":"","notIn":["comment","string"]}],"surroundingPairs":[{"open":"'","close":"'"},{"open":"\"","close":"\""},{"open":"{","close":"}"},{"open":"[","close":"]"},{"open":"(","close":")"},{"open":"<","close":">"}],"colorizedBracketPairs":[],"folding":{"markers":{"start":"^\\s*","end":"^\\s*"}},"wordPattern":"(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\$\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\s]+)","onEnterRules":[{"beforeText":{"pattern":"<(?!(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr))([_:\\w][_:\\w-.\\d]*)(?:(?:[^'\"/>]|\"[^\"]*\"|'[^']*')*?(?!\\/)>)[^<]*$","flags":"i"},"afterText":{"pattern":"^<\\/([_:\\w][_:\\w-.\\d]*)\\s*>","flags":"i"},"action":{"indent":"indentOutdent"}},{"beforeText":{"pattern":"<(?!(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr))([_:\\w][_:\\w-.\\d]*)(?:(?:[^'\"/>]|\"[^\"]*\"|'[^']*')*?(?!\\/)>)[^<]*$","flags":"i"},"action":{"indent":"indent"}}],"indentationRules":{"increaseIndentPattern":"<(?!\\?|(?:area|base|br|col|frame|hr|html|img|input|keygen|link|menuitem|meta|param|source|track|wbr)\\b|[^>]*\\/>)([-_\\.A-Za-z0-9]+)(?=\\s|>)\\b[^>]*>(?!.*<\\/\\1>)|)|\\{[^}\"']*$","decreaseIndentPattern":"^\\s*(<\\/(?!html)[-_\\.A-Za-z0-9]+\\b[^>]*>|-->|\\})"}} \ No newline at end of file diff --git a/resources/java/language-configuration.json b/resources/java/language-configuration.json index f05bb45..a9a0071 100644 --- a/resources/java/language-configuration.json +++ b/resources/java/language-configuration.json @@ -1 +1 @@ -{"comments":{"lineComment":"//","blockComment":["/*","*/"]},"brackets":[["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[["{","}"],["[","]"],["(",")"],{"open":"\"","close":"\"","notIn":["string"]},{"open":"'","close":"'","notIn":["string"]},{"open":"/**","close":" */","notIn":["string"]}],"surroundingPairs":[["{","}"],["[","]"],["(",")"],["\"","\""],["'","'"],["<",">"]],"folding":{"markers":{"start":"^\\s*//\\s*(?:(?:#?region\\b)|(?:))"}}} \ No newline at end of file +{"comments":{"lineComment":"//","blockComment":["/*","*/"]},"brackets":[["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[["{","}"],["[","]"],["(",")"],{"open":"\"","close":"\"","notIn":["string"]},{"open":"'","close":"'","notIn":["string"]},{"open":"/**","close":" */","notIn":["string"]}],"surroundingPairs":[["{","}"],["[","]"],["(",")"],["\"","\""],["'","'"],["<",">"]],"folding":{"markers":{"start":"^\\s*//\\s*(?:(?:#?region\\b)|(?:))"}},"onEnterRules":[{"beforeText":{"pattern":"^\\s*/\\*\\*(?!/)([^\\*]|\\*(?!/))*$"},"afterText":{"pattern":"^\\s*\\*/$"},"action":{"indent":"indentOutdent","appendText":" * "}},{"beforeText":{"pattern":"^\\s*/\\*\\*(?!/)([^\\*]|\\*(?!/))*$"},"action":{"indent":"none","appendText":" * "}},{"beforeText":{"pattern":"^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$"},"previousLineText":{"pattern":"(?=^(\\s*(/\\*\\*|\\*)).*)(?=(?!(\\s*\\*/)))"},"action":{"indent":"none","appendText":"* "}},{"beforeText":{"pattern":"^(\\t|[ ])*[ ]\\*/\\s*$"},"action":{"indent":"none","removeText":1}},{"beforeText":{"pattern":"^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$"},"action":{"indent":"none","removeText":1}},{"beforeText":{"pattern":"^\\s*(\\bcase\\s.+:|\\bdefault:)$"},"afterText":{"pattern":"^(?!\\s*(\\bcase\\b|\\bdefault\\b))"},"action":{"indent":"indent"}}]} \ No newline at end of file diff --git a/resources/markdown-basics/language-configuration.json b/resources/markdown-basics/language-configuration.json index 520fc1a..8833eb2 100644 --- a/resources/markdown-basics/language-configuration.json +++ b/resources/markdown-basics/language-configuration.json @@ -1 +1 @@ -{"comments":{"blockComment":[""]},"brackets":[["{","}"],["[","]"],["(",")"]],"colorizedBracketPairs":[],"autoClosingPairs":[{"open":"{","close":"}"},{"open":"[","close":"]"},{"open":"(","close":")"},{"open":"<","close":">","notIn":["string"]}],"surroundingPairs":[["(",")"],["[","]"],["`","`"],["_","_"],["*","*"],["{","}"],["'","'"],["\"","\""]],"folding":{"offSide":true,"markers":{"start":"^\\s*","end":"^\\s*"}},"wordPattern":{"pattern":"(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})(((\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})|[_])?(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark}))*","flags":"ug"}} \ No newline at end of file +{"comments":{"blockComment":[""]},"brackets":[["{","}"],["[","]"],["(",")"]],"colorizedBracketPairs":[],"autoClosingPairs":[{"open":"{","close":"}"},{"open":"[","close":"]"},{"open":"(","close":")"},{"open":"<","close":">","notIn":["string"]},{"open":"`","close":"`"},{"open":"```","close":"```"}],"surroundingPairs":[["(",")"],["[","]"],["`","`"],["_","_"],["*","*"],["{","}"],["'","'"],["\"","\""]],"folding":{"offSide":true,"markers":{"start":"^\\s*","end":"^\\s*"}},"wordPattern":{"pattern":"(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})(((\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})|[_])?(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark}))*","flags":"ug"}} \ No newline at end of file diff --git a/resources/php/language-configuration.json b/resources/php/language-configuration.json index 8296649..66e5574 100644 --- a/resources/php/language-configuration.json +++ b/resources/php/language-configuration.json @@ -1 +1 @@ -{"comments":{"lineComment":"//","blockComment":["/*","*/"]},"brackets":[["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[{"open":"{","close":"}","notIn":["string"]},{"open":"[","close":"]","notIn":["string"]},{"open":"(","close":")","notIn":["string"]},{"open":"'","close":"'","notIn":["string","comment"]},{"open":"\"","close":"\"","notIn":["string","comment"]},{"open":"/**","close":" */","notIn":["string"]}],"surroundingPairs":[["{","}"],["[","]"],["(",")"],["'","'"],["\"","\""],["`","`"]],"indentationRules":{"increaseIndentPattern":"({(?!.*}).*|\\(|\\[|((else(\\s)?)?if|else|for(each)?|while|switch|case).*:)\\s*((/[/*].*|)?$|\\?>)","decreaseIndentPattern":"^(.*\\*\\/)?\\s*((\\})|(\\)+[;,])|(\\]\\)*[;,])|\\b(else:)|\\b((end(if|for(each)?|while|switch));))"},"folding":{"markers":{"start":"^\\s*(#|//)region\\b","end":"^\\s*(#|//)endregion\\b"}},"wordPattern":"(-?\\d*\\.\\d\\w*)|([^\\-\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)","onEnterRules":[{"beforeText":"^\\s*\\/\\*\\*(?!\\/)([^\\*]|\\*(?!\\/))*$","afterText":"^\\s*\\*\\/$","action":{"indent":"indentOutdent","appendText":" * "}},{"beforeText":"^\\s*\\/\\*\\*(?!\\/)([^\\*]|\\*(?!\\/))*$","action":{"indent":"none","appendText":" * "}},{"beforeText":"^(\\t|(\\ \\ ))*\\ \\*(\\ ([^\\*]|\\*(?!\\/))*)?$","action":{"indent":"none","appendText":"* "}},{"beforeText":"^(\\t|(\\ \\ ))*\\ \\*\\/\\s*$","action":{"indent":"none","removeText":1}},{"beforeText":"^(\\t|(\\ \\ ))*\\ \\*[^/]*\\*\\/\\s*$","action":{"indent":"none","removeText":1}}]} \ No newline at end of file +{"comments":{"lineComment":"//","blockComment":["/*","*/"]},"brackets":[["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[{"open":"{","close":"}","notIn":["string"]},{"open":"[","close":"]","notIn":["string"]},{"open":"(","close":")","notIn":["string"]},{"open":"'","close":"'","notIn":["string","comment"]},{"open":"\"","close":"\"","notIn":["string","comment"]},{"open":"/**","close":" */","notIn":["string"]}],"surroundingPairs":[["{","}"],["[","]"],["(",")"],["'","'"],["\"","\""],["`","`"]],"indentationRules":{"increaseIndentPattern":"({(?!.*}).*|\\(|\\[|((else(\\s)?)?if|else|for(each)?|while|switch|case).*:)\\s*((/[/*].*|)?$|\\?>)","decreaseIndentPattern":"^(.*\\*\\/)?\\s*((\\})|(\\)+[;,])|(\\]\\)*[;,])|\\b(else:)|\\b((end(if|for(each)?|while|switch));))"},"folding":{"markers":{"start":"^\\s*(#|//)region\\b","end":"^\\s*(#|//)endregion\\b"}},"wordPattern":"(-?\\d*\\.\\d\\w*)|([^\\-\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)","onEnterRules":[{"beforeText":"^\\s*\\/\\*\\*(?!\\/)([^\\*]|\\*(?!\\/))*$","afterText":"^\\s*\\*\\/$","action":{"indent":"indentOutdent","appendText":" * "}},{"beforeText":"^\\s*\\/\\*\\*(?!\\/)([^\\*]|\\*(?!\\/))*$","action":{"indent":"none","appendText":" * "}},{"beforeText":"^(\\t|(\\ \\ ))*\\ \\*(\\ ([^\\*]|\\*(?!\\/))*)?$","action":{"indent":"none","appendText":"* "}},{"beforeText":"^(\\t|(\\ \\ ))*\\ \\*\\/\\s*$","action":{"indent":"none","removeText":1}},{"beforeText":"^(\\t|(\\ \\ ))*\\ \\*[^/]*\\*\\/\\s*$","action":{"indent":"none","removeText":1}},{"previousLineText":"^\\s*(((else ?)?if|for(each)?|while)\\s*\\(.*\\)\\s*|else\\s*)$","beforeText":"^\\s+([^{i\\s]|i(?!f\\b))","action":{"indent":"outdent"}}]} \ No newline at end of file diff --git a/resources/sql/language-configuration.json b/resources/sql/language-configuration.json index 8c74013..7064ef7 100644 --- a/resources/sql/language-configuration.json +++ b/resources/sql/language-configuration.json @@ -1 +1 @@ -{"comments":{"lineComment":"--","blockComment":["/*","*/"]},"brackets":[["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[["{","}"],["[","]"],["(",")"],{"open":"\"","close":"\"","notIn":["string"]},{"open":"N'","close":"'","notIn":["string","comment"]},{"open":"'","close":"'","notIn":["string","comment"]}],"surroundingPairs":[["{","}"],["[","]"],["(",")"],["\"","\""],["'","'"],["`","`"]],"folding":{"markers":{"start":"^\\s*--\\s*#region\\b","end":"^\\s*--\\s*#endregion\\b"}}} \ No newline at end of file +{"comments":{"lineComment":"--","blockComment":["/*","*/"]},"brackets":[["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[["{","}"],["[","]"],["(",")"],{"open":"\"","close":"\"","notIn":["string"]},{"open":"N'","close":"'","notIn":["string","comment"]},{"open":"'","close":"'","notIn":["string","comment"]}],"surroundingPairs":[["{","}"],["[","]"],["(",")"],["\"","\""],["'","'"],["`","`"]],"folding":{"offSide":true,"markers":{"start":"^\\s*--\\s*#region\\b","end":"^\\s*--\\s*#endregion\\b"}}} \ No newline at end of file diff --git a/resources/typescript-basics/language-configuration.json b/resources/typescript-basics/language-configuration.json index d9a9ba6..2501ea2 100644 --- a/resources/typescript-basics/language-configuration.json +++ b/resources/typescript-basics/language-configuration.json @@ -1 +1 @@ -{"comments":{"lineComment":"//","blockComment":["/*","*/"]},"brackets":[["${","}"],["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[{"open":"{","close":"}"},{"open":"[","close":"]"},{"open":"(","close":")"},{"open":"'","close":"'","notIn":["string","comment"]},{"open":"\"","close":"\"","notIn":["string"]},{"open":"`","close":"`","notIn":["string","comment"]},{"open":"/**","close":" */","notIn":["string"]}],"surroundingPairs":[["{","}"],["[","]"],["(",")"],["'","'"],["\"","\""],["`","`"],["<",">"]],"colorizedBracketPairs":[["(",")"],["[","]"],["{","}"],["<",">"]],"autoCloseBefore":";:.,=}])>` \n\t","folding":{"markers":{"start":"^\\s*//\\s*#?region\\b","end":"^\\s*//\\s*#?endregion\\b"}},"wordPattern":{"pattern":"(-?\\d*\\.\\d\\w*)|([^\\`\\@\\~\\!\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>/\\?\\s]+)"},"indentationRules":{"decreaseIndentPattern":{"pattern":"^((?!.*?/\\*).*\\*/)?\\s*[\\}\\]].*$"},"increaseIndentPattern":{"pattern":"^((?!//).)*(\\{([^}\"'`/]*|(\\t|[ ])*//.*)|\\([^)\"'`/]*|\\[[^\\]\"'`/]*)$"},"unIndentedLinePattern":{"pattern":"^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$"}},"onEnterRules":[{"beforeText":{"pattern":"^\\s*/\\*\\*(?!/)([^\\*]|\\*(?!/))*$"},"afterText":{"pattern":"^\\s*\\*/$"},"action":{"indent":"indentOutdent","appendText":" * "}},{"beforeText":{"pattern":"^\\s*/\\*\\*(?!/)([^\\*]|\\*(?!/))*$"},"action":{"indent":"none","appendText":" * "}},{"beforeText":{"pattern":"^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$"},"previousLineText":{"pattern":"(?=^(\\s*(/\\*\\*|\\*)).*)(?=(?!(\\s*\\*/)))"},"action":{"indent":"none","appendText":"* "}},{"beforeText":{"pattern":"^(\\t|[ ])*[ ]\\*/\\s*$"},"action":{"indent":"none","removeText":1}},{"beforeText":{"pattern":"^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$"},"action":{"indent":"none","removeText":1}},{"beforeText":{"pattern":"^\\s*(\\bcase\\s.+:|\\bdefault:)$"},"afterText":{"pattern":"^(?!\\s*(\\bcase\\b|\\bdefault\\b))"},"action":{"indent":"indent"}}]} \ No newline at end of file +{"comments":{"lineComment":"//","blockComment":["/*","*/"]},"brackets":[["${","}"],["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[{"open":"{","close":"}"},{"open":"[","close":"]"},{"open":"(","close":")"},{"open":"'","close":"'","notIn":["string","comment"]},{"open":"\"","close":"\"","notIn":["string"]},{"open":"`","close":"`","notIn":["string","comment"]},{"open":"/**","close":" */","notIn":["string"]}],"surroundingPairs":[["{","}"],["[","]"],["(",")"],["'","'"],["\"","\""],["`","`"],["<",">"]],"colorizedBracketPairs":[["(",")"],["[","]"],["{","}"],["<",">"]],"autoCloseBefore":";:.,=}])>` \n\t","folding":{"markers":{"start":"^\\s*//\\s*#?region\\b","end":"^\\s*//\\s*#?endregion\\b"}},"wordPattern":{"pattern":"(-?\\d*\\.\\d\\w*)|([^\\`\\@\\~\\!\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>/\\?\\s]+)"},"indentationRules":{"decreaseIndentPattern":{"pattern":"^((?!.*?/\\*).*\\*/)?\\s*[\\}\\]].*$"},"increaseIndentPattern":{"pattern":"^((?!//).)*(\\{([^}\"'`/]*|(\\t|[ ])*//.*)|\\([^)\"'`/]*|\\[[^\\]\"'`/]*)$"},"unIndentedLinePattern":{"pattern":"^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$"}},"onEnterRules":[{"beforeText":{"pattern":"^\\s*/\\*\\*(?!/)([^\\*]|\\*(?!/))*$"},"afterText":{"pattern":"^\\s*\\*/$"},"action":{"indent":"indentOutdent","appendText":" * "}},{"beforeText":{"pattern":"^\\s*/\\*\\*(?!/)([^\\*]|\\*(?!/))*$"},"action":{"indent":"none","appendText":" * "}},{"beforeText":{"pattern":"^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$"},"previousLineText":{"pattern":"(?=^(\\s*(/\\*\\*|\\*)).*)(?=(?!(\\s*\\*/)))"},"action":{"indent":"none","appendText":"* "}},{"beforeText":{"pattern":"^(\\t|[ ])*[ ]\\*/\\s*$"},"action":{"indent":"none","removeText":1}},{"beforeText":{"pattern":"^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$"},"action":{"indent":"none","removeText":1}},{"beforeText":{"pattern":"^\\s*(\\bcase\\s.+:|\\bdefault:)$"},"afterText":{"pattern":"^(?!\\s*(\\bcase\\b|\\bdefault\\b))"},"action":{"indent":"indent"}},{"previousLineText":"^\\s*(((else ?)?if|for|while)\\s*\\(.*\\)\\s*|else\\s*)$","beforeText":"^\\s+([^{i\\s]|i(?!f\\b))","action":{"indent":"outdent"}}]} \ No newline at end of file diff --git a/resources/vb/language-configuration.json b/resources/vb/language-configuration.json index 6d79ffe..33e8dfc 100644 --- a/resources/vb/language-configuration.json +++ b/resources/vb/language-configuration.json @@ -1 +1 @@ -{"comments":{"lineComment":"'"},"brackets":[["{","}"],["[","]"],["(",")"],["<",">"]],"autoClosingPairs":[["{","}"],["[","]"],["(",")"],{"open":"\"","close":"\"","notIn":["string"]}],"surroundingPairs":[["{","}"],["[","]"],["(",")"],["\"","\""],["<",">"]],"folding":{"markers":{"start":"^\\s*#Region\\b","end":"^\\s*#End Region\\b"}}} \ No newline at end of file +{"comments":{"lineComment":"'"},"brackets":[["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[["{","}"],["[","]"],["(",")"],{"open":"\"","close":"\"","notIn":["string"]}],"surroundingPairs":[["{","}"],["[","]"],["(",")"],["\"","\""],["<",">"]],"folding":{"markers":{"start":"^\\s*#Region\\b","end":"^\\s*#End Region\\b"}}} \ No newline at end of file