mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[textmate] update bundles
GitOrigin-RevId: 9e104735b8edf8359438a15522d34b95cefcb8be
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fd50f306c9
commit
3e3770bdd7
@@ -76,8 +76,8 @@ diff --git a/community/plugins/textmate/lib/bundles/erlang/language-configuratio
|
||||
// Indent if a line ends brackets, "->" or most keywords. Also if prefixed
|
||||
// with "||". This should work with most formatting models.
|
||||
// The ((?!%).)* is to ensure this doesn't match inside comments.
|
||||
- "increaseIndentPattern": "^((?!%).)*([{([]|->|after|begin|case|catch|fun|if|of|try|when|(\\|\\|.*))\\s*$",
|
||||
+ "increaseIndentPattern": "^((?!%).)*([{(\\[]|->|after|begin|case|catch|fun|if|of|try|when|(\\|\\|.*))\\s*$",
|
||||
- "increaseIndentPattern": "^((?!%).)*([{([]|->|after|begin|case|catch|fun|if|of|try|when|maybe|else|(\\|\\|.*))\\s*$",
|
||||
+ "increaseIndentPattern": "^((?!%).)*([{(\\[]|->|after|begin|case|catch|fun|if|of|try|when|maybe|else|(\\|\\|.*))\\s*$",
|
||||
// Dedent after brackets, end or lone "->". The latter happens in a spec
|
||||
// with indented types, typically after "when". Only do this if it's _only_
|
||||
// preceded by whitespace.
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "mmims/language-batchfile",
|
||||
"repositoryUrl": "https://github.com/mmims/language-batchfile",
|
||||
"commitHash": "6154ae25a24e01ac9329e7bcf958e093cd8733a9"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "0.7.6"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "atom/language-clojure",
|
||||
"repositoryUrl": "https://github.com/atom/language-clojure",
|
||||
"commitHash": "45bdb881501d0b8f8b707ca1d3fcc8b4b99fca03"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "0.22.8",
|
||||
"description": "The file syntaxes/clojure.tmLanguage.json was derived from the Atom package https://github.com/atom/language-clojure which was originally converted from the TextMate bundle https://github.com/mmcgrana/textmate-clojure."
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "atom/language-coffee-script",
|
||||
"repositoryUrl": "https://github.com/atom/language-coffee-script",
|
||||
"commitHash": "0f6db9143663e18b1ad00667820f46747dba495e"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"description": "The file syntaxes/coffeescript.tmLanguage.json was derived from the Atom package https://github.com/atom/language-coffee-script which was originally converted from the TextMate bundle https://github.com/jashkenas/coffee-script-tmbundle.",
|
||||
"version": "0.49.3"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,96 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "jeff-hykin/better-cpp-syntax",
|
||||
"repositoryUrl": "https://github.com/jeff-hykin/better-cpp-syntax",
|
||||
"commitHash": "f1d127a8af2b184db570345f0bb179503c47fdf6"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"licenseDetail": [
|
||||
[
|
||||
"MIT License",
|
||||
"",
|
||||
"Copyright (c) 2019 Jeff Hykin",
|
||||
"",
|
||||
"Permission is hereby granted, free of charge, to any person obtaining a copy",
|
||||
"of this software and associated documentation files (the \"Software\"), to deal",
|
||||
"in the Software without restriction, including without limitation the rights",
|
||||
"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell",
|
||||
"copies of the Software, and to permit persons to whom the Software is",
|
||||
"furnished to do so, subject to the following conditions:",
|
||||
"",
|
||||
"The above copyright notice and this permission notice shall be included in all",
|
||||
"copies or substantial portions of the Software.",
|
||||
"",
|
||||
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR",
|
||||
"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,",
|
||||
"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE",
|
||||
"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER",
|
||||
"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,",
|
||||
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE",
|
||||
"SOFTWARE."
|
||||
]
|
||||
],
|
||||
"version": "1.17.4",
|
||||
"description": "The original JSON grammars were derived from https://github.com/atom/language-c which was originally converted from the C TextMate bundle https://github.com/textmate/c.tmbundle."
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "jeff-hykin/better-c-syntax",
|
||||
"repositoryUrl": "https://github.com/jeff-hykin/better-c-syntax",
|
||||
"commitHash": "34712a6106a4ffb0a04d2fa836fd28ff6c5849a4"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "1.13.2",
|
||||
"description": "The original JSON grammars were derived from https://github.com/atom/language-c which was originally converted from the C TextMate bundle https://github.com/textmate/c.tmbundle."
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "textmate/c.tmbundle",
|
||||
"repositoryUrl": "https://github.com/textmate/c.tmbundle",
|
||||
"commitHash": "60daf83b9d45329524f7847a75e9298b3aae5805"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"Copyright (c) textmate-c.tmbundle authors",
|
||||
"",
|
||||
"If not otherwise specified (see below), files in this repository fall under the following license:",
|
||||
"",
|
||||
"Permission to copy, use, modify, sell and distribute this",
|
||||
"software is granted. This software is provided \"as is\" without",
|
||||
"express or implied warranty, and with no claim as to its",
|
||||
"suitability for any purpose.",
|
||||
"",
|
||||
"An exception is made for files in readable text which contain their own license information,",
|
||||
"or files where an accompanying file exists (in the same directory) with a \"-license\" suffix added",
|
||||
"to the base-name name of the original file, and an extension of txt, html, or similar. For example",
|
||||
"\"tidy\" is accompanied by \"tidy-license.txt\"."
|
||||
],
|
||||
"license": "TextMate Bundle License",
|
||||
"version": "0.0.0"
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "NVIDIA/cuda-cpp-grammar",
|
||||
"repositoryUrl": "https://github.com/NVIDIA/cuda-cpp-grammar",
|
||||
"commitHash": "81e88eaec5170aa8585736c63627c73e3589998c"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "0.0.0",
|
||||
"description": "The file syntaxes/cuda-cpp.tmLanguage.json was derived from https://github.com/jeff-hykin/cpp-textmate-grammar, which was derived from https://github.com/atom/language-c, which was originally converted from the C TextMate bundle https://github.com/textmate/c.tmbundle."
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "dotnet/csharp-tmLanguage",
|
||||
"repositoryUrl": "https://github.com/dotnet/csharp-tmLanguage",
|
||||
"commitHash": "772323937fedd65c6dc1c8ce6ea41d97415ed7d1"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "0.1.0",
|
||||
"description": "The file syntaxes/csharp.tmLanguage.json was derived from https://github.com/dotnet/csharp-tmLanguage"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,53 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "microsoft/vscode-css",
|
||||
"repositoryUrl": "https://github.com/microsoft/vscode-css",
|
||||
"commitHash": "c216f777497265700ff336f739328e5197e012cd"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"MIT License",
|
||||
"",
|
||||
"Copyright (c) Microsoft Corporation.",
|
||||
"",
|
||||
"Permission is hereby granted, free of charge, to any person obtaining",
|
||||
"a copy of this software and associated documentation files (the",
|
||||
"\"Software\"), to deal in the Software without restriction, including",
|
||||
"without limitation the rights to use, copy, modify, merge, publish,",
|
||||
"distribute, sublicense, and/or sell copies of the Software, and to",
|
||||
"permit persons to whom the Software is furnished to do so, subject to",
|
||||
"the following conditions:",
|
||||
"",
|
||||
"The above copyright notice and this permission notice shall be",
|
||||
"included in all copies or substantial portions of the Software.",
|
||||
"",
|
||||
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,",
|
||||
"EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF",
|
||||
"MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND",
|
||||
"NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE",
|
||||
"LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION",
|
||||
"OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION",
|
||||
"WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
|
||||
"",
|
||||
"--------------------------------------------------------------------",
|
||||
"",
|
||||
"This package was derived from a TextMate bundle located at",
|
||||
"https://github.com/textmate/css.tmbundle and distributed under the following",
|
||||
"license, located in `README.mdown`:",
|
||||
"",
|
||||
"Permission to copy, use, modify, sell and distribute this",
|
||||
"software is granted. This software is provided \"as is\" without",
|
||||
"express or implied warranty, and with no claim as to its",
|
||||
"suitability for any purpose."
|
||||
],
|
||||
"license": "MIT License",
|
||||
"description": "The file syntaxes/css.tmLanguage.json was derived from https://github.com/atom/language-css which was originally converted from the TextMate bundle https://github.com/textmate/css.tmbundle.",
|
||||
"version": "0.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "dart-lang/dart-syntax-highlight",
|
||||
"repositoryUrl": "https://github.com/dart-lang/dart-syntax-highlight",
|
||||
"commitHash": "bd0079ba7ca85cdd6400a8a467e532b539d0f285"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"Copyright 2020, the Dart project authors.",
|
||||
"",
|
||||
"Redistribution and use in source and binary forms, with or without",
|
||||
"modification, are permitted provided that the following conditions are",
|
||||
"met:",
|
||||
"",
|
||||
" * Redistributions of source code must retain the above copyright",
|
||||
" notice, this list of conditions and the following disclaimer.",
|
||||
" * Redistributions in binary form must reproduce the above",
|
||||
" copyright notice, this list of conditions and the following",
|
||||
" disclaimer in the documentation and/or other materials provided",
|
||||
" with the distribution.",
|
||||
" * Neither the name of Google LLC nor the names of its",
|
||||
" contributors may be used to endorse or promote products derived",
|
||||
" from this software without specific prior written permission.",
|
||||
"",
|
||||
"THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS",
|
||||
"\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT",
|
||||
"LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR",
|
||||
"A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT",
|
||||
"OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,",
|
||||
"SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT",
|
||||
"LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,",
|
||||
"DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY",
|
||||
"THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT",
|
||||
"(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE",
|
||||
"OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
|
||||
],
|
||||
"license": "BSD",
|
||||
"version": "0.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/dart-lang/dart-syntax-highlight/commit/bd0079ba7ca85cdd6400a8a467e532b539d0f285",
|
||||
"version": "https://github.com/dart-lang/dart-syntax-highlight/commit/272e2f89f85073c04b7e15b582257f76d2489970",
|
||||
"name": "Dart",
|
||||
"scopeName": "source.dart",
|
||||
"patterns": [
|
||||
@@ -90,15 +90,7 @@
|
||||
"end": "```"
|
||||
},
|
||||
{
|
||||
"match": "(`.*?`)",
|
||||
"captures": {
|
||||
"0": {
|
||||
"name": "variable.other.source.dart"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"match": "(`.*?`)",
|
||||
"match": "(`[^`]+?`)",
|
||||
"captures": {
|
||||
"0": {
|
||||
"name": "variable.other.source.dart"
|
||||
@@ -316,7 +308,7 @@
|
||||
},
|
||||
{
|
||||
"name": "keyword.control.dart",
|
||||
"match": "(?<!\\$)\\b(break|case|continue|default|do|else|for|if|in|return|switch|while|when)\\b(?!\\$)"
|
||||
"match": "(?<!\\$)\\b(break|case|continue|default|do|else|for|if|in|switch|while|when)\\b(?!\\$)"
|
||||
},
|
||||
{
|
||||
"name": "keyword.control.dart",
|
||||
@@ -330,9 +322,13 @@
|
||||
"name": "keyword.control.new.dart",
|
||||
"match": "(?<!\\$)\\b(new)\\b(?!\\$)"
|
||||
},
|
||||
{
|
||||
"name": "keyword.control.return.dart",
|
||||
"match": "(?<!\\$)\\b(return)\\b(?!\\$)"
|
||||
},
|
||||
{
|
||||
"name": "keyword.declaration.dart",
|
||||
"match": "(?<!\\$)\\b(abstract|sealed|base|interface|class|enum|extends|extension type|extension|external|factory|implements|get(?!\\()|mixin|native|operator|set(?!\\()|typedef|with|covariant)\\b(?!\\$)"
|
||||
"match": "(?<!\\$)\\b(abstract|sealed|base|interface|class|enum|extends|extension type|extension|external|factory|implements|get(?![(<])|mixin|native|operator|set(?![(<])|typedef|with|covariant)\\b(?!\\$)"
|
||||
},
|
||||
{
|
||||
"name": "storage.modifier.dart",
|
||||
@@ -395,6 +391,7 @@
|
||||
"string-interp": {
|
||||
"patterns": [
|
||||
{
|
||||
"name": "string.interpolated.expression.dart",
|
||||
"match": "\\$([a-zA-Z0-9_]+)",
|
||||
"captures": {
|
||||
"1": {
|
||||
@@ -408,8 +405,7 @@
|
||||
"end": "\\}",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#constants-and-special-vars",
|
||||
"name": "variable.parameter.dart"
|
||||
"include": "#constants-and-special-vars"
|
||||
},
|
||||
{
|
||||
"include": "#strings"
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "textmate/diff.tmbundle",
|
||||
"repositoryUrl": "https://github.com/textmate/diff.tmbundle",
|
||||
"commitHash": "0593bb775eab1824af97ef2172fd38822abd97d7"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"Copyright (c) textmate-diff.tmbundle project authors",
|
||||
"",
|
||||
"If not otherwise specified (see below), files in this repository fall under the following license:",
|
||||
"",
|
||||
"Permission to copy, use, modify, sell and distribute this",
|
||||
"software is granted. This software is provided \"as is\" without",
|
||||
"express or implied warranty, and with no claim as to its",
|
||||
"suitability for any purpose.",
|
||||
"",
|
||||
"An exception is made for files in readable text which contain their own license information,",
|
||||
"or files where an accompanying file exists (in the same directory) with a \"-license\" suffix added",
|
||||
"to the base-name name of the original file, and an extension of txt, html, or similar. For example",
|
||||
"\"tidy\" is accompanied by \"tidy-license.txt\"."
|
||||
],
|
||||
"license": "TextMate Bundle License",
|
||||
"version": "0.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "language-docker",
|
||||
"repositoryUrl": "https://github.com/moby/moby",
|
||||
"commitHash": "abd39744c6f3ed854500e423f5fabf952165161f"
|
||||
}
|
||||
},
|
||||
"license": "Apache2",
|
||||
"description": "The file syntaxes/docker.tmLanguage was included from https://github.com/moby/moby/blob/master/contrib/syntax/textmate/Docker.tmbundle/Syntaxes/Dockerfile.tmLanguage.",
|
||||
"version": "0.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -20,5 +20,9 @@
|
||||
["(", ")"],
|
||||
["\"", "\""],
|
||||
["'", "'"]
|
||||
]
|
||||
}
|
||||
],
|
||||
"indentationRules": {
|
||||
"increaseIndentPattern": "^\\s*.*(:|-) ?(&\\w+)?(\\{[^}\"']*|\\([^)\"']*)?$",
|
||||
"decreaseIndentPattern": "^\\s+\\}$"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,11 +26,11 @@
|
||||
// Indent if a line ends brackets, "->" or most keywords. Also if prefixed
|
||||
// with "||". This should work with most formatting models.
|
||||
// The ((?!%).)* is to ensure this doesn't match inside comments.
|
||||
"increaseIndentPattern": "^((?!%).)*([{(\\[]|->|after|begin|case|catch|fun|if|of|try|when|(\\|\\|.*))\\s*$",
|
||||
"increaseIndentPattern": "^((?!%).)*([{(\\[]|->|after|begin|case|catch|fun|if|of|try|when|maybe|else|(\\|\\|.*))\\s*$",
|
||||
// Dedent after brackets, end or lone "->". The latter happens in a spec
|
||||
// with indented types, typically after "when". Only do this if it's _only_
|
||||
// preceded by whitespace.
|
||||
"decreaseIndentPattern": "^\\s*([)}\\]]|end|->\\s*$)",
|
||||
"decreaseIndentPattern": "^\\s*([)}\\]]|end|else|->\\s*$)",
|
||||
// Indent if after an incomplete map association operator, list
|
||||
// comprehension and type specifier. But only once, then return to the
|
||||
// previous indent.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "erlang-ls",
|
||||
"version": "0.0.40",
|
||||
"version": "0.0.42",
|
||||
"description": "The Visual Studio Code Extension for the Erlang Language Server",
|
||||
"license": "Apache-2.0",
|
||||
"contributes": {
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "ionide/ionide-fsgrammar",
|
||||
"repositoryUrl": "https://github.com/ionide/ionide-fsgrammar",
|
||||
"commitHash": "8740e610a367c5e3f15be716acc7207655ced4cf"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"description": "The file syntaxes/fsharp.json was included from https://github.com/ionide/ionide-fsgrammar/blob/master/grammar/fsharp.json.",
|
||||
"version": "0.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/ionide/ionide-fsgrammar/commit/8740e610a367c5e3f15be716acc7207655ced4cf",
|
||||
"version": "https://github.com/ionide/ionide-fsgrammar/commit/7d029a46f17637228b2ee85dd02e511c3e8039b3",
|
||||
"name": "fsharp",
|
||||
"scopeName": "source.fsharp",
|
||||
"patterns": [
|
||||
@@ -574,6 +574,11 @@
|
||||
"name": "fast-capture.comment.line.double-slash.fsharp",
|
||||
"match": "//"
|
||||
},
|
||||
{
|
||||
"comments": "Capture (*) when inside of (* *) so that it doesn't prematurely end the comment block.",
|
||||
"name": "fast-capture.comment.line.mul-operator.fsharp",
|
||||
"match": "\\(\\*\\)"
|
||||
},
|
||||
{
|
||||
"include": "#comments"
|
||||
}
|
||||
@@ -590,8 +595,8 @@
|
||||
},
|
||||
{
|
||||
"name": "comment.line.markdown.fsharp",
|
||||
"begin": "///",
|
||||
"while": "///",
|
||||
"begin": "(?<![!%&+-.<=>?@^|/])///(?!/)",
|
||||
"while": "(?<![!%&+-.<=>?@^|/])///(?!/)",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "text.html.markdown"
|
||||
@@ -600,7 +605,7 @@
|
||||
},
|
||||
{
|
||||
"name": "comment.line.double-slash.fsharp",
|
||||
"match": "//.*$"
|
||||
"match": "(?<![!%&+-.<=>?@^|/])//(.*$)"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -630,7 +635,7 @@
|
||||
},
|
||||
"abstract_definition": {
|
||||
"name": "abstract.definition.fsharp",
|
||||
"begin": "\\b(abstract)\\s+(member)?(\\s+\\[\\<.*\\>\\])?\\s*([_[:alpha:]0-9,\\._`\\s]+)(:)",
|
||||
"begin": "\\b(abstract)\\s+(member)?(\\s+\\[\\<.*\\>\\])?\\s*([_[:alpha:]0-9,\\._`\\s]+)(<)?",
|
||||
"end": "\\s*(with)\\b|=|$",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
@@ -676,7 +681,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"match": "(?!with|get|set\\b)\\b([\\w0-9'`^._]+)",
|
||||
"match": "(?!with|get|set\\b)\\s*([\\w0-9'`^._]+)",
|
||||
"comments": "Here we need the \\w modifier in order to check that the words isn't blacklisted",
|
||||
"captures": {
|
||||
"1": {
|
||||
@@ -1125,7 +1130,7 @@
|
||||
},
|
||||
{
|
||||
"name": "keyword.symbol.fsharp",
|
||||
"match": "(&&&|\\|\\|\\||\\^\\^\\^|~~~|<<<|>>>|\\|>|:>|:\\?>|:|\\[|\\]|\\;|<>|=|@|\\|\\||&&|{|}|\\||_|\\.\\.|\\,|\\+|\\-|\\*|\\/|\\^|\\!|\\>|\\>\\=|\\>\\>|\\<|\\<\\=|\\(|\\)|\\<\\<)"
|
||||
"match": "(&&&|\\|\\|\\||\\^\\^\\^|~~~|~\\+|~\\-|<<<|>>>|\\|>|:>|:\\?>|:|\\[|\\]|\\;|<>|=|@|\\|\\||&&|&|%|{|}|\\||_|\\.\\.|\\,|\\+|\\-|\\*|\\/|\\^|\\!|\\>|\\>\\=|\\>\\>|\\<|\\<\\=|\\(|\\)|\\<\\<)"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -1133,7 +1138,7 @@
|
||||
"patterns": [
|
||||
{
|
||||
"name": "entity.name.section.fsharp",
|
||||
"begin": "\\b(namespace global)|\\b(namespace|module)\\s*(public|internal|private|rec)?\\s+([[:alpha:]][[:alpha:]0-9'_. ]*)",
|
||||
"begin": "\\b(namespace global)|\\b(namespace|module)\\s*(public|internal|private|rec)?\\s+([[:alpha:]|``][[:alpha:]0-9'_. ]*)",
|
||||
"end": "(\\s?=|\\s|$)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
@@ -1171,7 +1176,7 @@
|
||||
},
|
||||
{
|
||||
"name": "namespace.open.fsharp",
|
||||
"begin": "\\b(open type|open)\\s+([[:alpha:]][[:alpha:]0-9'_]*)(?=(\\.[A-Z][[:alpha:]0-9_]*)*)",
|
||||
"begin": "\\b(open type|open)\\s+([[:alpha:]|``][[:alpha:]0-9'_]*)(?=(\\.[A-Z][[:alpha:]0-9_]*)*)",
|
||||
"end": "(\\s|$)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
@@ -1331,7 +1336,7 @@
|
||||
"match": "\\(\\)"
|
||||
},
|
||||
{
|
||||
"match": "(\\?{0,1})(``[[:alpha:]0-9'`^:,._ ]+``|(?!private\\b)\\b[\\w[:alpha:]0-9'`<>^._ ]+)",
|
||||
"match": "(\\?{0,1})(``[[:alpha:]0-9'`^:,._ ]+``|(?!private|struct\\b)\\b[\\w[:alpha:]0-9'`<>^._ ]+)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "keyword.symbol.fsharp"
|
||||
|
||||
@@ -1,74 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "textmate/git.tmbundle",
|
||||
"repositoryUrl": "https://github.com/textmate/git.tmbundle",
|
||||
"commitHash": "5870cf3f8abad3a6637bdf69250b5d2ded427dc4"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"Copyright (c) 2008 Tim Harper",
|
||||
"",
|
||||
"Permission is hereby granted, free of charge, to any person obtaining",
|
||||
"a copy of this software and associated documentation files (the\"",
|
||||
"Software\"), to deal in the Software without restriction, including",
|
||||
"without limitation the rights to use, copy, modify, merge, publish,",
|
||||
"distribute, sublicense, and/or sell copies of the Software, and to",
|
||||
"permit persons to whom the Software is furnished to do so, subject to",
|
||||
"the following conditions:",
|
||||
"",
|
||||
"The above copyright notice and this permission notice shall be",
|
||||
"included in all copies or substantial portions of the Software.",
|
||||
"",
|
||||
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,",
|
||||
"EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF",
|
||||
"MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND",
|
||||
"NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE",
|
||||
"LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION",
|
||||
"OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION",
|
||||
"WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
|
||||
],
|
||||
"license": "MIT",
|
||||
"version": "0.0.0"
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "walles/git-commit-message-plus",
|
||||
"repositoryUrl": "https://github.com/walles/git-commit-message-plus",
|
||||
"commitHash": "35a079dea5a91b087021b40c01a6bb4eb0337a87"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"Copyright (c) 2023 Johan Walles <johan.walles@gmail.com>",
|
||||
"",
|
||||
"Permission is hereby granted, free of charge, to any person obtaining",
|
||||
"a copy of this software and associated documentation files (the\"",
|
||||
"Software\"), to deal in the Software without restriction, including",
|
||||
"without limitation the rights to use, copy, modify, merge, publish,",
|
||||
"distribute, sublicense, and/or sell copies of the Software, and to",
|
||||
"permit persons to whom the Software is furnished to do so, subject to",
|
||||
"the following conditions:",
|
||||
"",
|
||||
"The above copyright notice and this permission notice shall be",
|
||||
"included in all copies or substantial portions of the Software.",
|
||||
"",
|
||||
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,",
|
||||
"EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF",
|
||||
"MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND",
|
||||
"NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE",
|
||||
"LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION",
|
||||
"OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION",
|
||||
"WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
|
||||
],
|
||||
"license": "MIT",
|
||||
"version": "1.0.0",
|
||||
"description": "The original JSON grammars were derived from https://github.com/microsoft/vscode/blob/e95c74c4c7af876e79ec58df262464467c06df28/extensions/git-base/syntaxes/git-commit.tmLanguage.json. That file was originally copied from https://github.com/textmate/git.tmbundle."
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
+10
-1
@@ -7,5 +7,14 @@
|
||||
["{", "}"],
|
||||
["[", "]"],
|
||||
["(", ")"]
|
||||
],
|
||||
"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"] }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
+10
-1
@@ -7,5 +7,14 @@
|
||||
["{", "}"],
|
||||
["[", "]"],
|
||||
["(", ")"]
|
||||
],
|
||||
"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"] }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
{
|
||||
"comments": {
|
||||
"lineComment": "#",
|
||||
}
|
||||
},
|
||||
"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"] }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "better-go-syntax",
|
||||
"repositoryUrl": "https://github.com/jeff-hykin/better-go-syntax/ ",
|
||||
"commitHash": "54ff898316f8647d77ffcf83880a9556445326f1"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"description": "The file syntaxes/go.tmLanguage.json is from https://github.com/jeff-hykin/better-go-syntax/ .",
|
||||
"version": "1.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "textmate/groovy.tmbundle",
|
||||
"repositoryUrl": "https://github.com/textmate/groovy.tmbundle",
|
||||
"commitHash": "85d8f7c97ae473ccb9473f6c8d27e4ec957f4be1"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"Copyright (c) textmate-groovy.tmbundle project authors",
|
||||
"",
|
||||
"If not otherwise specified (see below), files in this repository fall under the following license:",
|
||||
"",
|
||||
"Permission to copy, use, modify, sell and distribute this",
|
||||
"software is granted. This software is provided \"as is\" without",
|
||||
"express or implied warranty, and with no claim as to its",
|
||||
"suitability for any purpose.",
|
||||
"",
|
||||
"An exception is made for files in readable text which contain their own license information,",
|
||||
"or files where an accompanying file exists (in the same directory) with a \"-license\" suffix added",
|
||||
"to the base-name name of the original file, and an extension of txt, html, or similar. For example",
|
||||
"\"tidy\" is accompanied by \"tidy-license.txt\"."
|
||||
],
|
||||
"license": "TextMate Bundle License",
|
||||
"version": "0.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "daaain/Handlebars",
|
||||
"repositoryUrl": "https://github.com/daaain/Handlebars",
|
||||
"commitHash": "85a153a6f759df4e8da7533e1b3651f007867c51"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"-- Credits",
|
||||
"",
|
||||
"Adapted from the great sublime-text-handlebars package by Nicholas Westlake.",
|
||||
"",
|
||||
"Thanks a lot to all the generous contributors (in alphabetical order): @bittersweetryan, @bradcliffe, @calumbrodie, @duncanbeevers, @hlvnst, @jonschlinkert, @Krutius, @samselikoff, @utkarshkukreti, @zeppelin",
|
||||
"",
|
||||
"-- License",
|
||||
"",
|
||||
"(The MIT License)",
|
||||
"",
|
||||
"Copyright (c) daaain/Handlebars project authors",
|
||||
"",
|
||||
"Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:",
|
||||
"",
|
||||
"The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.",
|
||||
"",
|
||||
"THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
|
||||
],
|
||||
"license": "MIT",
|
||||
"version": "1.8.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -283,14 +283,18 @@
|
||||
},
|
||||
"functions": {
|
||||
"name": "meta.function-call.hcl",
|
||||
"begin": "(\\w+)(\\()",
|
||||
"begin": "([:\\-\\w]+)(\\()",
|
||||
"end": "\\)",
|
||||
"comment": "Built-in function calls",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"patterns": [
|
||||
{
|
||||
"match": "\\b(?!null|false|true)[[:alpha:]][[:alnum:]_-]*\\b",
|
||||
"match": "\\b[[:alpha:]][\\w_-]*::([[:alpha:]][\\w_-]*::)?[[:alpha:]][\\w_-]*\\b",
|
||||
"name": "support.function.namespaced.hcl"
|
||||
},
|
||||
{
|
||||
"match": "\\b[[:alpha:]][\\w_-]*\\b",
|
||||
"name": "support.function.builtin.hcl"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "shaders-tmLanguage",
|
||||
"repositoryUrl": "https://github.com/tgjones/shaders-tmLanguage",
|
||||
"commitHash": "87c0dca3a39170dbd7ee7e277db4f915fb2de14a"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "0.1.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "textmate/html.tmbundle",
|
||||
"repositoryUrl": "https://github.com/textmate/html.tmbundle",
|
||||
"commitHash": "0c3d5ee54de3a993f747f54186b73a4d2d3c44a2"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"Copyright (c) textmate-html.tmbundle project authors",
|
||||
"",
|
||||
"If not otherwise specified (see below), files in this repository fall under the following license:",
|
||||
"",
|
||||
"Permission to copy, use, modify, sell and distribute this",
|
||||
"software is granted. This software is provided \"as is\" without",
|
||||
"express or implied warranty, and with no claim as to its",
|
||||
"suitability for any purpose.",
|
||||
"",
|
||||
"An exception is made for files in readable text which contain their own license information,",
|
||||
"or files where an accompanying file exists (in the same directory) with a \"-license\" suffix added",
|
||||
"to the base-name name of the original file, and an extension of txt, html, or similar. For example",
|
||||
"\"tidy\" is accompanied by \"tidy-license.txt\"."
|
||||
],
|
||||
"license": "TextMate Bundle License",
|
||||
"version": "0.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "textmate/ini.tmbundle",
|
||||
"repositoryUrl": "https://github.com/textmate/ini.tmbundle",
|
||||
"commitHash": "2af0cbb0704940f967152616f2f1ff0aae6287a6"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"Copyright (c) textmate-ini.tmbundle project authors",
|
||||
"",
|
||||
"If not otherwise specified (see below), files in this folder fall under the following license: ",
|
||||
"",
|
||||
"Permission to copy, use, modify, sell and distribute this",
|
||||
"software is granted. This software is provided \"as is\" without",
|
||||
"express or implied warranty, and with no claim as to its",
|
||||
"suitability for any purpose.",
|
||||
"",
|
||||
"An exception is made for files in readable text which contain their own license information, ",
|
||||
"or files where an accompanying file exists (in the same directory) with a \"-license\" suffix added ",
|
||||
"to the base-name name of the original file, and an extension of txt, html, or similar. For example ",
|
||||
"\"tidy\" is accompanied by \"tidy-license.txt\"."
|
||||
],
|
||||
"license": "TextMate Bundle License",
|
||||
"version": "0.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -26,7 +26,8 @@
|
||||
".gitattributes",
|
||||
".gitconfig",
|
||||
".gitmodules",
|
||||
".editorconfig"
|
||||
".editorconfig",
|
||||
".repo"
|
||||
],
|
||||
"filenames": [
|
||||
"gitconfig",
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "redhat-developer/vscode-java",
|
||||
"repositoryUrl": "https://github.com/redhat-developer/vscode-java",
|
||||
"commitHash": "5d224a552cf5f0f8ebccf69e43e2575ed2c13839"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"licenseDetail": [
|
||||
"Copyright (c) 2014 GitHub Inc.",
|
||||
"",
|
||||
"Permission is hereby granted, free of charge, to any person obtaining",
|
||||
"a copy of this software and associated documentation files (the",
|
||||
"\"Software\"), to deal in the Software without restriction, including",
|
||||
"without limitation the rights to use, copy, modify, merge, publish,",
|
||||
"distribute, sublicense, and/or sell copies of the Software, and to",
|
||||
"permit persons to whom the Software is furnished to do so, subject to",
|
||||
"the following conditions:",
|
||||
"",
|
||||
"The above copyright notice and this permission notice shall be",
|
||||
"included in all copies or substantial portions of the Software.",
|
||||
"",
|
||||
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,",
|
||||
"EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF",
|
||||
"MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND",
|
||||
"NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE",
|
||||
"LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION",
|
||||
"OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION",
|
||||
"WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
|
||||
"",
|
||||
"--------------------------------------------------------------------",
|
||||
"",
|
||||
"This package was derived from a TextMate bundle located at",
|
||||
"https://github.com/textmate/java.tmbundle and distributed under the following",
|
||||
"license, located in `README.mdown`:",
|
||||
"",
|
||||
"Permission to copy, use, modify, sell and distribute this",
|
||||
"software is granted. This software is provided \"as is\" without",
|
||||
"express or implied warranty, and with no claim as to its",
|
||||
"suitability for any purpose."
|
||||
],
|
||||
"description": "This grammar was derived from https://github.com/atom/language-java/blob/master/grammars/java.cson.",
|
||||
"version": "1.22.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/redhat-developer/vscode-java/commit/5d224a552cf5f0f8ebccf69e43e2575ed2c13839",
|
||||
"version": "https://github.com/redhat-developer/vscode-java/commit/f09b712f5d6d6339e765f58c8dfab3f78a378183",
|
||||
"name": "Java",
|
||||
"scopeName": "source.java",
|
||||
"patterns": [
|
||||
@@ -1598,11 +1598,7 @@
|
||||
"name": "string.quoted.triple.java",
|
||||
"patterns": [
|
||||
{
|
||||
"match": "\\\\\"\"\"",
|
||||
"name": "constant.character.escape.java"
|
||||
},
|
||||
{
|
||||
"match": "\\\\.",
|
||||
"match": "(\\\\\"\"\")(?!\")|(\\\\.)",
|
||||
"name": "constant.character.escape.java"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "microsoft/TypeScript-TmLanguage",
|
||||
"repositoryUrl": "https://github.com/microsoft/TypeScript-TmLanguage",
|
||||
"commitHash": "3133e3d914db9a2bb8812119f9273727a305f16b"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "0.0.1",
|
||||
"description": "The file syntaxes/JavaScript.tmLanguage.json was derived from TypeScriptReact.tmLanguage in https://github.com/microsoft/TypeScript-TmLanguage."
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "textmate/javascript.tmbundle",
|
||||
"repositoryUrl": "https://github.com/textmate/javascript.tmbundle",
|
||||
"commitHash": "fccf0af0c95430a42e1bf98f0c7a4723a53283e7"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"Copyright (c) textmate-javascript.tmbundle project authors",
|
||||
"",
|
||||
"If not otherwise specified (see below), files in this repository fall under the following license:",
|
||||
"",
|
||||
"Permission to copy, use, modify, sell and distribute this",
|
||||
"software is granted. This software is provided \"as is\" without",
|
||||
"express or implied warranty, and with no claim as to its",
|
||||
"suitability for any purpose.",
|
||||
"",
|
||||
"An exception is made for files in readable text which contain their own license information,",
|
||||
"or files where an accompanying file exists (in the same directory) with a \"-license\" suffix added",
|
||||
"to the base-name name of the original file, and an extension of txt, html, or similar. For example",
|
||||
"\"tidy\" is accompanied by \"tidy-license.txt\"."
|
||||
],
|
||||
"license": "TextMate Bundle License",
|
||||
"version": "0.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -111,7 +111,7 @@
|
||||
},
|
||||
"indentationRules": {
|
||||
"decreaseIndentPattern": {
|
||||
"pattern": "^((?!.*?/\\*).*\\*\/)?\\s*[\\}\\]].*$"
|
||||
"pattern": "^((?!.*?/\\*).*\\*\/)?\\s*[\\}\\]\\)].*$"
|
||||
},
|
||||
"increaseIndentPattern": {
|
||||
"pattern": "^((?!//).)*(\\{([^}\"'`/]*|(\\t|[ ])*//.*)|\\([^)\"'`/]*|\\[[^\\]\"'`/]*)$"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/8c7482b94b548eab56da64dbfb30b82589b3f747",
|
||||
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/b80b7509a78e642f789c567e144ed951ab98b4e3",
|
||||
"name": "JavaScript (with React support)",
|
||||
"scopeName": "source.js",
|
||||
"patterns": [
|
||||
@@ -2351,12 +2351,15 @@
|
||||
]
|
||||
},
|
||||
"import-export-assert-clause": {
|
||||
"begin": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(assert)\\s*(\\{)",
|
||||
"begin": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(with)|(assert))\\s*(\\{)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "keyword.control.assert.js"
|
||||
"name": "keyword.control.with.js"
|
||||
},
|
||||
"2": {
|
||||
"name": "keyword.control.assert.js"
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.definition.block.js"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/8c7482b94b548eab56da64dbfb30b82589b3f747",
|
||||
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/b80b7509a78e642f789c567e144ed951ab98b4e3",
|
||||
"name": "JavaScript (with React support)",
|
||||
"scopeName": "source.js.jsx",
|
||||
"patterns": [
|
||||
@@ -2351,12 +2351,15 @@
|
||||
]
|
||||
},
|
||||
"import-export-assert-clause": {
|
||||
"begin": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(assert)\\s*(\\{)",
|
||||
"begin": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(with)|(assert))\\s*(\\{)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "keyword.control.assert.js.jsx"
|
||||
"name": "keyword.control.with.js.jsx"
|
||||
},
|
||||
"2": {
|
||||
"name": "keyword.control.assert.js.jsx"
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.definition.block.js.jsx"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "microsoft/vscode-JSON.tmLanguage",
|
||||
"repositoryUrl": "https://github.com/microsoft/vscode-JSON.tmLanguage",
|
||||
"commitHash": "9bd83f1c252b375e957203f21793316203f61f70"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "0.0.0"
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "jeff-hykin/better-snippet-syntax",
|
||||
"repositoryUrl": "https://github.com/jeff-hykin/better-snippet-syntax",
|
||||
"commitHash": "2b1bb124cb2b9c75c3c80eae1b8f3a043841d654"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "1.0.2"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "JuliaEditorSupport/atom-language-julia",
|
||||
"repositoryUrl": "https://github.com/JuliaEditorSupport/atom-language-julia",
|
||||
"commitHash": "85cf3ef2ddcb7bc9b2b17b2a5f1fc664e1f1e718"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "0.22.1"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/JuliaEditorSupport/atom-language-julia/commit/85cf3ef2ddcb7bc9b2b17b2a5f1fc664e1f1e718",
|
||||
"version": "https://github.com/JuliaEditorSupport/atom-language-julia/commit/ca657621631c568fdce35fb583c97b8d0b7a226c",
|
||||
"name": "Julia",
|
||||
"scopeName": "source.julia",
|
||||
"comment": "This grammar is used by Atom (Oniguruma), GitHub (PCRE), and VSCode (Oniguruma),\nso all regexps must be compatible with both engines.\n\nSpecs:\n- https://github.com/kkos/oniguruma/blob/master/doc/RE\n- https://www.pcre.org/current/doc/html/",
|
||||
@@ -30,6 +30,9 @@
|
||||
{
|
||||
"include": "#function_call"
|
||||
},
|
||||
{
|
||||
"include": "#for_block"
|
||||
},
|
||||
{
|
||||
"include": "#keyword"
|
||||
},
|
||||
@@ -44,6 +47,9 @@
|
||||
},
|
||||
{
|
||||
"include": "#symbol"
|
||||
},
|
||||
{
|
||||
"include": "#punctuation"
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
@@ -76,11 +82,7 @@
|
||||
"name": "constant.numeric.julia"
|
||||
},
|
||||
{
|
||||
"match": "\\bfor\\b",
|
||||
"name": "keyword.control.julia"
|
||||
},
|
||||
{
|
||||
"include": "$self"
|
||||
"include": "#self_no_for_block"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -106,7 +108,7 @@
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "$self"
|
||||
"include": "#self_no_for_block"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -115,8 +117,26 @@
|
||||
"bracket": {
|
||||
"patterns": [
|
||||
{
|
||||
"match": "(?:\\(|\\)|\\[|\\]|\\{|\\}|,|;)(?!('|(?:\\.'))*\\.?')",
|
||||
"name": "meta.bracket.julia"
|
||||
"begin": "\\{",
|
||||
"beginCaptures": {
|
||||
"0": {
|
||||
"name": "meta.bracket.julia"
|
||||
}
|
||||
},
|
||||
"end": "(\\})((?:\\.)?'*)",
|
||||
"endCaptures": {
|
||||
"1": {
|
||||
"name": "meta.bracket.julia"
|
||||
},
|
||||
"2": {
|
||||
"name": "keyword.operator.transpose.julia"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#self_no_for_block"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -215,11 +235,7 @@
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"match": "\\bfor\\b",
|
||||
"name": "keyword.control.julia"
|
||||
},
|
||||
{
|
||||
"include": "$self"
|
||||
"include": "#self_no_for_block"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -259,14 +275,10 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"keyword": {
|
||||
"for_block": {
|
||||
"comment": "for blocks need to be special-cased to support tokenizing 'outer' properly",
|
||||
"patterns": [
|
||||
{
|
||||
"match": "\\b(?<![:_\\.])(?:function|mutable\\s+struct|struct|macro|quote|abstract\\s+type|primitive\\s+type|module|baremodule|where)\\b",
|
||||
"name": "keyword.other.julia"
|
||||
},
|
||||
{
|
||||
"comment": "special case for blocks to support tokenizing outer properly",
|
||||
"begin": "\\b(for)\\b",
|
||||
"beginCaptures": {
|
||||
"0": {
|
||||
@@ -283,9 +295,17 @@
|
||||
"include": "$self"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"keyword": {
|
||||
"patterns": [
|
||||
{
|
||||
"match": "\\b(?<![:_\\.])(?:function|mutable\\s+struct|struct|macro|quote|abstract\\s+type|primitive\\s+type|module|baremodule|where)\\b",
|
||||
"name": "keyword.other.julia"
|
||||
},
|
||||
{
|
||||
"match": "\\b(?<![:_])(?:if|else|elseif|while|begin|let|do|try|catch|finally|return|break|continue)\\b",
|
||||
"match": "\\b(?<![:_])(?:if|else|elseif|for|while|begin|let|do|try|catch|finally|return|break|continue)\\b",
|
||||
"name": "keyword.control.julia"
|
||||
},
|
||||
{
|
||||
@@ -300,6 +320,10 @@
|
||||
"match": "\\b(?<![:_])(?:export)\\b",
|
||||
"name": "keyword.control.export.julia"
|
||||
},
|
||||
{
|
||||
"match": "\\b(?<![:_])(?:public)\\b",
|
||||
"name": "keyword.control.public.julia"
|
||||
},
|
||||
{
|
||||
"match": "\\b(?<![:_])(?:import)\\b",
|
||||
"name": "keyword.control.import.julia"
|
||||
@@ -608,7 +632,12 @@
|
||||
"0": {
|
||||
"name": "punctuation.definition.string.end.julia"
|
||||
}
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#string_escaped_char"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"begin": "(raw)(\")",
|
||||
@@ -626,7 +655,12 @@
|
||||
"0": {
|
||||
"name": "punctuation.definition.string.end.julia"
|
||||
}
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#string_escaped_char"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"begin": "(sql)(\"\"\")",
|
||||
@@ -658,12 +692,22 @@
|
||||
{
|
||||
"begin": "var\"\"\"",
|
||||
"end": "\"\"\"",
|
||||
"name": "constant.other.symbol.julia"
|
||||
"name": "constant.other.symbol.julia",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#string_escaped_char"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"begin": "var\"",
|
||||
"end": "\"",
|
||||
"name": "constant.other.symbol.julia"
|
||||
"name": "constant.other.symbol.julia",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#string_escaped_char"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"begin": "^\\s?(doc)?(\"\"\")\\s?$",
|
||||
@@ -931,24 +975,27 @@
|
||||
"string_dollar_sign_interpolate": {
|
||||
"patterns": [
|
||||
{
|
||||
"match": "\\$(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*",
|
||||
"match": "\\$(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿]|[^\\p{^Sc}$])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]|[^\\p{^Sc}$])*",
|
||||
"name": "variable.interpolation.julia"
|
||||
},
|
||||
{
|
||||
"begin": "\\$\\(",
|
||||
"begin": "\\$(\\()",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "meta.bracket.julia"
|
||||
}
|
||||
},
|
||||
"end": "\\)",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "meta.bracket.julia"
|
||||
}
|
||||
},
|
||||
"name": "variable.interpolation.julia",
|
||||
"comment": "`punctuation.section.embedded`, `constant.escape`,\n& `meta.embedded.line` were considered but appear to have even spottier\nsupport among popular syntaxes.",
|
||||
"patterns": [
|
||||
{
|
||||
"match": "\\bfor\\b",
|
||||
"name": "keyword.control.julia"
|
||||
},
|
||||
{
|
||||
"include": "#parentheses"
|
||||
},
|
||||
{
|
||||
"include": "$self"
|
||||
"include": "#self_no_for_block"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -981,6 +1028,62 @@
|
||||
"name": "meta.type.julia"
|
||||
}
|
||||
]
|
||||
},
|
||||
"self_no_for_block": {
|
||||
"comment": "Same as $self, but does not contain #for_block. 'outer' is not valid in some contexts (e.g. generators, comprehensions, indexing), so use this when matching those in begin/end patterns. Keep this up-to-date with $self!",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#operator"
|
||||
},
|
||||
{
|
||||
"include": "#array"
|
||||
},
|
||||
{
|
||||
"include": "#string"
|
||||
},
|
||||
{
|
||||
"include": "#parentheses"
|
||||
},
|
||||
{
|
||||
"include": "#bracket"
|
||||
},
|
||||
{
|
||||
"include": "#function_decl"
|
||||
},
|
||||
{
|
||||
"include": "#function_call"
|
||||
},
|
||||
{
|
||||
"include": "#keyword"
|
||||
},
|
||||
{
|
||||
"include": "#number"
|
||||
},
|
||||
{
|
||||
"include": "#comment"
|
||||
},
|
||||
{
|
||||
"include": "#type_decl"
|
||||
},
|
||||
{
|
||||
"include": "#symbol"
|
||||
},
|
||||
{
|
||||
"include": "#punctuation"
|
||||
}
|
||||
]
|
||||
},
|
||||
"punctuation": {
|
||||
"patterns": [
|
||||
{
|
||||
"match": ",",
|
||||
"name": "punctuation.separator.comma.julia"
|
||||
},
|
||||
{
|
||||
"match": ";",
|
||||
"name": "punctuation.separator.semicolon.julia"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "jlelong/vscode-latex-basics",
|
||||
"repositoryUrl": "https://github.com/jlelong/vscode-latex-basics",
|
||||
"commitHash": "221a2443a5e8ac029685a0f872af39b23cc2b634"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "1.5.4",
|
||||
"description": "The files in syntaxes/ were originally part of https://github.com/James-Yu/LaTeX-Workshop. They have been extracted in the hope that they can useful outside of the LaTeX-Workshop extension.",
|
||||
"licenseDetail": [
|
||||
"Copyright (c) vscode-latex-basics authors",
|
||||
"",
|
||||
"If not otherwise specified (see below), files in this repository fall under the MIT License",
|
||||
"",
|
||||
"",
|
||||
"The file syntaxes/LaTeX.tmLanguage.json is based on https://github.com/textmate/latex.tmbundle/blob/master/Syntaxes/LaTeX.plist",
|
||||
"but has been largely modified. The original file falls under the following license",
|
||||
"",
|
||||
"Permission to copy, use, modify, sell and distribute this",
|
||||
"software is granted. This software is provided \"as is\" without",
|
||||
"express or implied warranty, and with no claim as to its",
|
||||
"suitability for any purpose.",
|
||||
"",
|
||||
"The file syntaxes/markdown-latex-combined.tmLanguage.json is generated from the Markdown grammar",
|
||||
"included in VSCode and falls under the license described in markdown-latex-combined-license.txt.",
|
||||
"",
|
||||
"The file syntaxes/cpp-grammar-bailout.tmLanguage.json is generated from https://github.com/jeff-hykin/better-cpp-syntax",
|
||||
"and falls under the license described in cpp-bailout-license.txt."
|
||||
]
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/jlelong/vscode-latex-basics/commit/221a2443a5e8ac029685a0f872af39b23cc2b634",
|
||||
"version": "https://github.com/jlelong/vscode-latex-basics/commit/c863108952ce5c695c066ea8dc498135abb19e0a",
|
||||
"name": "LaTeX",
|
||||
"scopeName": "text.tex.latex",
|
||||
"patterns": [
|
||||
@@ -155,8 +155,8 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"begin": "(^\\s*)?\\\\begin\\{(lstlisting|minted|pyglist)\\}(?=\\[|\\{)",
|
||||
"end": "\\\\end\\{(?:minted|lstlisting|pyglist)\\}",
|
||||
"begin": "(?:^\\s*)?\\\\begin\\{(lstlisting|minted|pyglist)\\}(?=\\[|\\{)",
|
||||
"end": "\\\\end\\{\\1\\}",
|
||||
"captures": {
|
||||
"0": {
|
||||
"patterns": [
|
||||
@@ -1064,9 +1064,10 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"begin": "((?:\\s*)\\\\begin\\{([a-zA-Z]*code|lstlisting|minted|pyglist)(?:\\*)?\\}(?:\\[.*\\])?(?:\\{.*\\})?)",
|
||||
"begin": "\\s*\\\\begin\\{([a-zA-Z]*code|lstlisting|minted|pyglist)\\*?\\}(?:\\[.*\\])?(?:\\{.*\\})?",
|
||||
"end": "\\\\end\\{\\1\\}(?:\\s*\\n)?",
|
||||
"captures": {
|
||||
"1": {
|
||||
"0": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#begin-env-tokenizer"
|
||||
@@ -1074,10 +1075,44 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"end": "(\\\\end\\{\\2\\}(?:\\s*\\n)?)",
|
||||
"contentName": "meta.function.embedded.latex",
|
||||
"name": "meta.embedded.block.generic.latex"
|
||||
},
|
||||
{
|
||||
"begin": "(?:^\\s*)?\\\\begin\\{(terminal\\*?)\\}(?=\\[|\\{)",
|
||||
"end": "\\\\end\\{\\1\\}",
|
||||
"captures": {
|
||||
"0": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#begin-env-tokenizer"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#multiline-optional-arg-no-highlight"
|
||||
},
|
||||
{
|
||||
"begin": "(?:\\G|(?<=\\]))(\\{)([a-zA-Z]*)(\\})",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.arguments.begin.latex"
|
||||
},
|
||||
"2": {
|
||||
"name": "variable.parameter.function.latex"
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.definition.arguments.end.latex"
|
||||
}
|
||||
},
|
||||
"contentName": "meta.function.embedded.latex",
|
||||
"end": "^\\s*(?=\\\\end\\{terminal\\*?\\})",
|
||||
"name": "meta.embedded.block.generic.latex"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"begin": "((\\\\)addplot)(?:\\+?)((?:\\[[^\\[]*\\]))*\\s*(gnuplot)\\s*((?:\\[[^\\[]*\\]))*\\s*(\\{)",
|
||||
"captures": {
|
||||
@@ -1197,6 +1232,74 @@
|
||||
"name": "meta.function.verbatim.latex"
|
||||
},
|
||||
{
|
||||
"comment": "Captures \\command[option]{url}{optional category}{optional name}{text}",
|
||||
"begin": "(?:\\s*)((\\\\)(?:href|hyperref|hyperimage))(?=\\[|\\{)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "support.function.url.latex"
|
||||
}
|
||||
},
|
||||
"end": "(\\})",
|
||||
"endCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.arguments.end.latex"
|
||||
}
|
||||
},
|
||||
"name": "meta.function.hyperlink.latex",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#multiline-optional-arg-no-highlight"
|
||||
},
|
||||
{
|
||||
"begin": "(?:\\G|(?<=\\]))(\\{)([^}]*)(\\})(?:\\{[^}]*\\}){2}?(\\{)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.arguments.begin.latex"
|
||||
},
|
||||
"2": {
|
||||
"name": "markup.underline.link.latex"
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.definition.arguments.end.latex"
|
||||
},
|
||||
"4": {
|
||||
"name": "punctuation.definition.arguments.begin.latex"
|
||||
}
|
||||
},
|
||||
"end": "(?=\\})",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "$base"
|
||||
}
|
||||
],
|
||||
"contentName": "meta.variable.parameter.function.latex"
|
||||
},
|
||||
{
|
||||
"begin": "(?:\\G|(?<=\\]))(?:(\\{)[^}]*(\\}))?(\\{)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.arguments.begin.latex"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.definition.arguments.end.latex"
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.definition.arguments.begin.latex"
|
||||
}
|
||||
},
|
||||
"end": "(?=\\})",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "$base"
|
||||
}
|
||||
],
|
||||
"contentName": "meta.variable.parameter.function.latex"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"match": "(?:\\s*)((\\\\)url)(\\{)([^}]*)(\\})",
|
||||
"name": "meta.function.link.url.latex",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "support.function.url.latex"
|
||||
@@ -1205,33 +1308,15 @@
|
||||
"name": "punctuation.definition.function.latex"
|
||||
},
|
||||
"3": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#optional-arg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"4": {
|
||||
"name": "punctuation.definition.arguments.begin.latex"
|
||||
},
|
||||
"5": {
|
||||
"name": "punctuation.definition.arguments.end.latex"
|
||||
},
|
||||
"'": {
|
||||
"name": "markup.underline.link.latex"
|
||||
},
|
||||
"6": {
|
||||
"name": "punctuation.definition.arguments.end.latex"
|
||||
},
|
||||
"7": {
|
||||
"name": "punctuation.definition.arguments.begin.latex"
|
||||
},
|
||||
"8": {
|
||||
"name": "entity.name.hyperlink.latex"
|
||||
},
|
||||
"9": {
|
||||
"name": "punctuation.definition.arguments.end.latex"
|
||||
}
|
||||
},
|
||||
"match": "(?:\\s*)((\\\\)(?:url|href|hyperref|hyperimage))(\\[[^\\[]*?\\])?(\\{)([^}]*)(\\})(?:\\{[^}]*\\}){2}?(?:(\\{)([^}]*)(\\}))?",
|
||||
"name": "meta.function.link.url.latex"
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "These two patterns match the \\begin{document} and \\end{document} commands, so that the environment matching pattern following them will ignore those commands.",
|
||||
@@ -2070,36 +2155,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"begin": "(,,)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.string.begin.latex"
|
||||
}
|
||||
},
|
||||
"end": "(?<!\\\\)(\\`\\`)",
|
||||
"endCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.string.end.latex"
|
||||
}
|
||||
},
|
||||
"name": "string.quoted.double.latex"
|
||||
},
|
||||
{
|
||||
"begin": "(?<!\\\\|\\\\catcode|\\\\string)(\\`\\`)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.string.begin.latex"
|
||||
}
|
||||
},
|
||||
"end": "(?<!\\\\)(\\'\\'|\")",
|
||||
"endCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.string.end.latex"
|
||||
}
|
||||
},
|
||||
"name": "string.quoted.double.latex"
|
||||
},
|
||||
{
|
||||
"begin": "\\$\\$",
|
||||
"beginCaptures": {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/jlelong/vscode-latex-basics/commit/3ae82b457c28f0368cbbb47024b0245ef1ff3d33",
|
||||
"version": "https://github.com/jlelong/vscode-latex-basics/commit/69915f318570484ef40ed8798c73c63c58704183",
|
||||
"name": "TeX",
|
||||
"scopeName": "text.tex",
|
||||
"patterns": [
|
||||
@@ -166,7 +166,7 @@
|
||||
"name": "punctuation.definition.constant.math.tex"
|
||||
}
|
||||
},
|
||||
"match": "(\\\\)(s(s(earrow|warrow|lash)|h(ort(downarrow|uparrow|parallel|leftarrow|rightarrow|mid)|arp)|tar|i(gma|m(eq)?)|u(cc(sim|n(sim|approx)|curlyeq|eq|approx)?|pset(neq(q)?|plus(eq)?|eq(q)?)?|rd|m|bset(neq(q)?|plus(eq)?|eq(q)?)?)|p(hericalangle|adesuit)|e(tminus|arrow)|q(su(pset(eq)?|bset(eq)?)|c(up|ap)|uare)|warrow|m(ile|all(s(etminus|mile)|frown)))|h(slash|ook(leftarrow|rightarrow)|eartsuit|bar)|R(sh|ightarrow|e|bag)|Gam(e|ma)|n(s(hort(parallel|mid)|im|u(cc(eq)?|pseteq(q)?|bseteq))|Rightarrow|n(earrow|warrow)|cong|triangle(left(eq(slant)?)?|right(eq(slant)?)?)|i(plus)?|u|p(lus|arallel|rec(eq)?)|e(q|arrow|g|xists)|v(dash|Dash)|warrow|le(ss|q(slant|q)?|ft(arrow|rightarrow))|a(tural|bla)|VDash|rightarrow|g(tr|eq(slant|q)?)|mid|Left(arrow|rightarrow))|c(hi|irc(eq|le(d(circ|S|dash|ast)|arrow(left|right)))?|o(ng|prod|lon|mplement)|dot(s|p)?|u(p|r(vearrow(left|right)|ly(eq(succ|prec)|vee(downarrow|uparrow)?|wedge(downarrow|uparrow)?)))|enterdot|lubsuit|ap)|Xi|Maps(to(char)?|from(char)?)|B(ox|umpeq|bbk)|t(h(ick(sim|approx)|e(ta|refore))|imes|op|wohead(leftarrow|rightarrow)|a(u|lloblong)|riangle(down|q|left(eq(slant)?)?|right(eq(slant)?)?)?)|i(n(t(er(cal|leave))?|plus|fty)?|ota|math)|S(igma|u(pset|bset))|zeta|o(slash|times|int|dot|plus|vee|wedge|lessthan|greaterthan|m(inus|ega)|b(slash|long|ar))|d(i(v(ideontimes)?|a(g(down|up)|mond(suit)?)|gamma)|o(t(plus|eq(dot)?)|ublebarwedge|wn(harpoon(left|right)|downarrows|arrow))|d(ots|agger)|elta|a(sh(v|leftarrow|rightarrow)|leth|gger))|Y(down|up|left|right)|C(up|ap)|u(n(lhd|rhd)|p(silon|harpoon(left|right)|downarrow|uparrows|lus|arrow)|lcorner|rcorner)|jmath|Theta|Im|p(si|hi|i(tchfork)?|erp|ar(tial|allel)|r(ime|o(d|pto)|ec(sim|n(sim|approx)|curlyeq|eq|approx)?)|m)|e(t(h|a)|psilon|q(slant(less|gtr)|circ|uiv)|ll|xists|mptyset)|Omega|D(iamond|ownarrow|elta)|v(d(ots|ash)|ee(bar)?|Dash|ar(s(igma|u(psetneq(q)?|bsetneq(q)?))|nothing|curly(vee|wedge)|t(heta|imes|riangle(left|right)?)|o(slash|circle|times|dot|plus|vee|wedge|lessthan|ast|greaterthan|minus|b(slash|ar))|p(hi|i|ropto)|epsilon|kappa|rho|bigcirc))|kappa|Up(silon|downarrow|arrow)|Join|f(orall|lat|a(t(s(emi|lash)|bslash)|llingdotseq)|rown)|P(si|hi|i)|w(p|edge|r)|l(hd|n(sim|eq(q)?|approx)|ceil|times|ightning|o(ng(left(arrow|rightarrow)|rightarrow|maps(to|from))|zenge|oparrow(left|right))|dot(s|p)|e(ss(sim|dot|eq(qgtr|gtr)|approx|gtr)|q(slant|q)?|ft(slice|harpoon(down|up)|threetimes|leftarrows|arrow(t(ail|riangle))?|right(squigarrow|harpoons|arrow(s|triangle|eq)?))|adsto)|vertneqq|floor|l(c(orner|eil)|floor|l|bracket)?|a(ngle|mbda)|rcorner|bag)|a(s(ymp|t)|ngle|pprox(eq)?|l(pha|eph)|rrownot|malg)|V(dash|vdash)|r(h(o|d)|ceil|times|i(singdotseq|ght(s(quigarrow|lice)|harpoon(down|up)|threetimes|left(harpoons|arrows)|arrow(t(ail|riangle))?|rightarrows))|floor|angle|r(ceil|parenthesis|floor|bracket)|bag)|g(n(sim|eq(q)?|approx)|tr(sim|dot|eq(qless|less)|less|approx)|imel|eq(slant|q)?|vertneqq|amma|g(g)?)|Finv|xi|m(ho|i(nuso|d)|o(o|dels)|u(ltimap)?|p|e(asuredangle|rge)|aps(to|from(char)?))|b(i(n(dnasrepma|ampersand)|g(s(tar|qc(up|ap))|nplus|c(irc|u(p|rly(vee|wedge))|ap)|triangle(down|up)|interleave|o(times|dot|plus)|uplus|parallel|vee|wedge|box))|o(t|wtie|x(slash|circle|times|dot|plus|empty|ast|minus|b(slash|ox|ar)))|u(llet|mpeq)|e(cause|t(h|ween|a))|lack(square|triangle(down|left|right)?|lozenge)|a(ck(s(im(eq)?|lash)|prime|epsilon)|r(o|wedge))|bslash)|L(sh|ong(left(arrow|rightarrow)|rightarrow|maps(to|from))|eft(arrow|rightarrow)|leftarrow|ambda|bag)|Arrownot)(?![a-zA-Z])",
|
||||
"match": "(\\\\)(s(s(earrow|warrow|lash)|h(ort(downarrow|uparrow|parallel|leftarrow|rightarrow|mid)|arp)|tar|i(gma|m(eq)?)|u(cc(sim|n(sim|approx)|curlyeq|eq|approx)?|pset(neq(q)?|plus(eq)?|eq(q)?)?|rd|m|bset(neq(q)?|plus(eq)?|eq(q)?)?)|p(hericalangle|adesuit)|e(tminus|arrow)|q(su(pset(eq)?|bset(eq)?)|c(up|ap)|uare)|warrow|m(ile|all(s(etminus|mile)|frown)))|h(slash|ook(leftarrow|rightarrow)|eartsuit|bar)|R(sh|ightarrow|e|bag)|Gam(e|ma)|n(s(hort(parallel|mid)|im|u(cc(eq)?|pseteq(q)?|bseteq))|Rightarrow|n(earrow|warrow)|cong|triangle(left(eq(slant)?)?|right(eq(slant)?)?)|i(plus)?|u|p(lus|arallel|rec(eq)?)|e(q|arrow|g|xists)|v(dash|Dash)|warrow|le(ss|q(slant|q)?|ft(arrow|rightarrow))|a(tural|bla)|VDash|rightarrow|g(tr|eq(slant|q)?)|mid|Left(arrow|rightarrow))|c(hi|irc(eq|le(d(circ|S|dash|ast)|arrow(left|right)))?|o(ng|prod|lon|mplement)|dot(s|p)?|u(p|r(vearrow(left|right)|ly(eq(succ|prec)|vee(downarrow|uparrow)?|wedge(downarrow|uparrow)?)))|enterdot|lubsuit|ap)|Xi|Maps(to(char)?|from(char)?)|B(ox|umpeq|bbk)|t(h(ick(sim|approx)|e(ta|refore))|imes|op|wohead(leftarrow|rightarrow)|a(u|lloblong)|riangle(down|q|left(eq(slant)?)?|right(eq(slant)?)?)?)|i(n(t(er(cal|leave))?|plus|fty)?|ota|math)|S(igma|u(pset|bset))|zeta|o(slash|times|int|dot|plus|vee|wedge|lessthan|greaterthan|m(inus|ega)|b(slash|long|ar))|d(i(v(ideontimes)?|a(g(down|up)|mond(suit)?)|gamma)|o(t(plus|eq(dot)?)|ublebarwedge|wn(harpoon(left|right)|downarrows|arrow))|d(ots|agger)|elta|a(sh(v|leftarrow|rightarrow)|leth|gger))|Y(down|up|left|right)|C(up|ap)|u(n(lhd|rhd)|p(silon|harpoon(left|right)|downarrow|uparrows|lus|arrow)|lcorner|rcorner)|jmath|Theta|Im|p(si|hi|i(tchfork)?|erp|ar(tial|allel)|r(ime|o(d|pto)|ec(sim|n(sim|approx)|curlyeq|eq|approx)?)|m)|e(t(h|a)|psilon|q(slant(less|gtr)|circ|uiv)|ll|xists|mptyset)|Omega|D(iamond|ownarrow|elta)|v(d(ots|ash)|ee(bar)?|Dash|ar(s(igma|u(psetneq(q)?|bsetneq(q)?))|nothing|curly(vee|wedge)|t(heta|imes|riangle(left|right)?)|o(slash|circle|times|dot|plus|vee|wedge|lessthan|ast|greaterthan|minus|b(slash|ar))|p(hi|i|ropto)|epsilon|kappa|rho|bigcirc))|kappa|Up(silon|downarrow|arrow)|Join|f(orall|lat|a(t(s(emi|lash)|bslash)|llingdotseq)|rown)|P(si|hi|i)|w(p|edge|r)|l(hd|n(sim|eq(q)?|approx)|ceil|times|ightning|o(ng(left(arrow|rightarrow)|rightarrow|maps(to|from))|zenge|oparrow(left|right))|dot(s|p)|e(ss(sim|dot|eq(qgtr|gtr)|approx|gtr)|q(slant|q)?|ft(slice|harpoon(down|up)|threetimes|leftarrows|arrow(t(ail|riangle))?|right(squigarrow|harpoons|arrow(s|triangle|eq)?))|adsto)|vertneqq|floor|l(c(orner|eil)|floor|l|bracket)?|a(ngle|mbda)|rcorner|bag)|a(s(ymp|t)|ngle|pprox(eq)?|l(pha|eph)|rrownot|malg)|V(dash|vdash)|r(h(o|d)|ceil|times|i(singdotseq|ght(s(quigarrow|lice)|harpoon(down|up)|threetimes|left(harpoons|arrows)|arrow(t(ail|riangle))?|rightarrows))|floor|angle|r(ceil|parenthesis|floor|bracket)|bag)|g(n(sim|eq(q)?|approx)|tr(sim|dot|eq(qless|less)|less|approx)|imel|eq(slant|q)?|vertneqq|amma|g(g)?)|Finv|xi|m(ho|i(nuso|d)|o(o|dels)|u(ltimap)?|p|e(asuredangle|rge)|aps(to|from(char)?))|b(i(n(dnasrepma|ampersand)|g(s(tar|qc(up|ap))|nplus|c(irc|u(p|rly(vee|wedge))|ap)|triangle(down|up)|interleave|o(times|dot|plus)|uplus|parallel|vee|wedge|box))|o(t|wtie|x(slash|circle|times|dot|plus|empty|ast|minus|b(slash|ox|ar)))|u(llet|mpeq)|e(cause|t(h|ween|a))|lack(square|triangle(down|left|right)?|lozenge)|a(ck(s(im(eq)?|lash)|prime|epsilon)|r(o|wedge))|bslash)|L(sh|ong(left(arrow|rightarrow)|rightarrow|maps(to|from))|eft(arrow|rightarrow)|leftarrow|ambda|bag)|Arrownot)(?![a-zA-Z@])",
|
||||
"name": "constant.character.math.tex"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/jlelong/vscode-latex-basics/commit/ff5e3f24ff5f242d62954cf9e124184f27bf24dd",
|
||||
"version": "https://github.com/jlelong/vscode-latex-basics/commit/45c7b12ee68563afd50407e5eac02d30d33dbe7a",
|
||||
"name": "Markdown",
|
||||
"scopeName": "text.tex.markdown_latex_combined",
|
||||
"patterns": [
|
||||
@@ -2258,12 +2258,7 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "markup.heading.markdown",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#inline"
|
||||
}
|
||||
]
|
||||
"name": "markup.heading.markdown"
|
||||
},
|
||||
"heading-setext": {
|
||||
"patterns": [
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "language-less",
|
||||
"repositoryUrl": "https://github.com/atom/language-less",
|
||||
"commitHash": "87d4d59e8de6796b506b81a16e1dc1fafc99d30f"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "0.34.2"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "vscode-logfile-highlighter",
|
||||
"repositoryUrl": "https://github.com/emilast/vscode-logfile-highlighter",
|
||||
"commitHash": "8acba9307254d1887ac770057767698c82d926c6"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "2.15.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/emilast/vscode-logfile-highlighter/commit/8acba9307254d1887ac770057767698c82d926c6",
|
||||
"version": "https://github.com/emilast/vscode-logfile-highlighter/commit/eb50e785c27b4b4f7dbf6c0e801c58fe91baef5d",
|
||||
"name": "Log file",
|
||||
"scopeName": "text.log",
|
||||
"patterns": [
|
||||
@@ -113,7 +113,7 @@
|
||||
"name": "string.regexp, emphasis log.exceptiontype"
|
||||
},
|
||||
{
|
||||
"begin": "^[\\t ]*at",
|
||||
"begin": "^[\\t ]*at[\\t ]",
|
||||
"end": "$",
|
||||
"name": "string.key, emphasis log.exception"
|
||||
},
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "sumneko/lua.tmbundle",
|
||||
"repositoryUrl": "https://github.com/sumneko/lua.tmbundle",
|
||||
"commitHash": "3a18700941737c3ab66ac5964696f141aee61800"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"Copyright (c) sumneko-lua.tmbundle project authors",
|
||||
"",
|
||||
"If not otherwise specified (see below), files in this repository fall under the following license:",
|
||||
"",
|
||||
"Permission to copy, use, modify, sell and distribute this",
|
||||
"software is granted. This software is provided \"as is\" without",
|
||||
"express or implied warranty, and with no claim as to its",
|
||||
"suitability for any purpose.",
|
||||
"",
|
||||
"An exception is made for files in readable text which contain their own license information,",
|
||||
"or files where an accompanying file exists (in the same directory) with a \"-license\" suffix added",
|
||||
"to the base-name name of the original file, and an extension of txt, html, or similar. For example",
|
||||
"\"tidy\" is accompanied by \"tidy-license.txt\"."
|
||||
],
|
||||
"license": "TextMate Bundle License",
|
||||
"version": "1.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/sumneko/lua.tmbundle/commit/3a18700941737c3ab66ac5964696f141aee61800",
|
||||
"version": "https://github.com/sumneko/lua.tmbundle/commit/94ce82cc4d45f82641a5252d7a7fd9e28c875adc",
|
||||
"name": "Lua",
|
||||
"scopeName": "source.lua",
|
||||
"patterns": [
|
||||
@@ -356,6 +356,26 @@
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "--\\[(=*)\\[@@@",
|
||||
"beginCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.comment.begin.lua"
|
||||
}
|
||||
},
|
||||
"end": "\\]\\1\\]",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.comment.end.lua"
|
||||
}
|
||||
},
|
||||
"name": "",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "source.lua"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"begin": "--\\[(=*)\\[",
|
||||
"beginCaptures": {
|
||||
@@ -928,7 +948,6 @@
|
||||
},
|
||||
"ldoc_tag": {
|
||||
"match": "\\G[ \\t]*(@)(alias|annotation|author|charset|class|classmod|comment|constructor|copyright|description|example|export|factory|field|file|fixme|function|include|lfunction|license|local|module|name|param|pragma|private|raise|release|return|script|section|see|set|static|submodule|summary|tfield|thread|tparam|treturn|todo|topic|type|usage|warning|within)\\b",
|
||||
"end": "(?!@)\\b",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.block.tag.ldoc"
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "fadeevab/make.tmbundle",
|
||||
"repositoryUrl": "https://github.com/fadeevab/make.tmbundle",
|
||||
"commitHash": "1d4c0b541959995db098df751ffc129da39a294b"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"Copyright (c) textmate-make.tmbundle project authors",
|
||||
"",
|
||||
"If not otherwise specified (see below), files in this repository fall under the following license:",
|
||||
"",
|
||||
"Permission to copy, use, modify, sell and distribute this",
|
||||
"software is granted. This software is provided \"as is\" without",
|
||||
"express or implied warranty, and with no claim as to its",
|
||||
"suitability for any purpose.",
|
||||
"",
|
||||
"An exception is made for files in readable text which contain their own license information,",
|
||||
"or files where an accompanying file exists (in the same directory) with a \"-license\" suffix added",
|
||||
"to the base-name name of the original file, and an extension of txt, html, or similar. For example",
|
||||
"\"tidy\" is accompanied by \"tidy-license.txt\"."
|
||||
],
|
||||
"license": "TextMate Bundle License",
|
||||
"version": "0.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "textmate/markdown.tmbundle",
|
||||
"repositoryUrl": "https://github.com/textmate/markdown.tmbundle",
|
||||
"commitHash": "11cf764606cb2cde54badb5d0e5a0758a8871c4b"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"Copyright (c) markdown.tmbundle authors",
|
||||
"",
|
||||
"If not otherwise specified (see below), files in this repository fall under the following license:",
|
||||
"",
|
||||
"Permission to copy, use, modify, sell and distribute this",
|
||||
"software is granted. This software is provided \"as is\" without",
|
||||
"express or implied warranty, and with no claim as to its",
|
||||
"suitability for any purpose.",
|
||||
"",
|
||||
"An exception is made for files in readable text which contain their own license information,",
|
||||
"or files where an accompanying file exists (in the same directory) with a \"-license\" suffix added",
|
||||
"to the base-name name of the original file, and an extension of txt, html, or similar. For example",
|
||||
"\"tidy\" is accompanied by \"tidy-license.txt\"."
|
||||
],
|
||||
"license": "TextMate Bundle License",
|
||||
"version": "0.0.0"
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "microsoft/vscode-markdown-tm-grammar",
|
||||
"repositoryUrl": "https://github.com/microsoft/vscode-markdown-tm-grammar",
|
||||
"commitHash": "0a4b23580308fdcfb4ab7b526e3e13ba17d436fb"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "1.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -42,14 +42,6 @@
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"open": "`",
|
||||
"close": "`"
|
||||
},
|
||||
{
|
||||
"open": "```",
|
||||
"close": "```"
|
||||
},
|
||||
],
|
||||
"surroundingPairs": [
|
||||
[
|
||||
@@ -83,6 +75,10 @@
|
||||
[
|
||||
"\"",
|
||||
"\""
|
||||
],
|
||||
[
|
||||
"<",
|
||||
">"
|
||||
]
|
||||
],
|
||||
"folding": {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/0a4b23580308fdcfb4ab7b526e3e13ba17d436fb",
|
||||
"version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/0b36cbbf917fb0188e1a1bafc8287c7abf8b0b37",
|
||||
"name": "Markdown",
|
||||
"scopeName": "text.html.markdown",
|
||||
"patterns": [
|
||||
@@ -2255,12 +2255,7 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "markup.heading.markdown",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#inline"
|
||||
}
|
||||
]
|
||||
"name": "markup.heading.markdown"
|
||||
},
|
||||
"heading-setext": {
|
||||
"patterns": [
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "James-Yu/LaTeX-Workshop",
|
||||
"repositoryUrl": "https://github.com/James-Yu/LaTeX-Workshop",
|
||||
"commitHash": "e4cd86f1731546c2cdde0cc93717ca3fec2da0ba"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "8.19.1"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "jeff-hykin/better-objcpp-syntax",
|
||||
"repositoryUrl": "https://github.com/jeff-hykin/better-objcpp-syntax",
|
||||
"commitHash": "5a7eb15eee382dd5aa388bc04fdb60a0d2128e14"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "0.1.0",
|
||||
"description": "The files syntaxes/objective-c.tmLanguage.json and syntaxes/objective-c++.tmLanguage.json were derived from the language package https://github.com/jeff-hykin/cpp-textmate-grammar."
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "jeff-hykin/better-objc-syntax",
|
||||
"repositoryUrl": "https://github.com/jeff-hykin/better-objc-syntax",
|
||||
"commitHash": "119b75fb1f4d3e8726fa62588e3b935e0b719294"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "0.2.0",
|
||||
"description": "The files syntaxes/objective-c.tmLanguage.json and syntaxes/objective-c++.tmLanguage.json were derived from the language package https://github.com/jeff-hykin/cpp-textmate-grammar."
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "textmate/perl.tmbundle",
|
||||
"repositoryUrl": "https://github.com/textmate/perl.tmbundle",
|
||||
"commitHash": "a85927a902d6e5d7805f56a653f324d34dfad53a"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"Copyright (c) textmate-perl.tmbundle project authors",
|
||||
"",
|
||||
"If not otherwise specified (see below), files in this repository fall under the following license:",
|
||||
"",
|
||||
"Permission to copy, use, modify, sell and distribute this",
|
||||
"software is granted. This software is provided \"as is\" without",
|
||||
"express or implied warranty, and with no claim as to its",
|
||||
"suitability for any purpose.",
|
||||
"",
|
||||
"An exception is made for files in readable text which contain their own license information,",
|
||||
"or files where an accompanying file exists (in the same directory) with a \"-license\" suffix added",
|
||||
"to the base-name name of the original file, and an extension of txt, html, or similar. For example",
|
||||
"\"tidy\" is accompanied by \"tidy-license.txt\"."
|
||||
],
|
||||
"license": "TextMate Bundle License",
|
||||
"description": "The files syntaxes/perl.tmLanguage.json and syntaxes/perl6.tmLanguage.json were derived from Perl.plist and Perl 6.tmLanguage from https://github.com/textmate/perl.tmbundle.",
|
||||
"version": "0.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "language-php",
|
||||
"repositoryUrl": "https://github.com/KapitanOczywisty/language-php",
|
||||
"commitHash": "5e8f000cb5a20f44f7a7a89d07ad0774031c53f3"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "0.49.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "PowerShell/EditorSyntax",
|
||||
"repositoryUrl": "https://github.com/PowerShell/EditorSyntax",
|
||||
"commitHash": "742f0b5d4b60f5930c0b47fcc1f646860521296e"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "1.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "davidrios/pug-tmbundle",
|
||||
"repositoryUrl": "https://github.com/davidrios/pug-tmbundle",
|
||||
"commitHash": "ae1dd60ca4aa4b45617f236d584216cd8d19eecf"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"description": "The file syntaxes/pug.tmLanguage.json was derived from Syntaxes/Pug.JSON-tmLanguage in https://github.com/davidrios/pug-tmbundle.",
|
||||
"version": "0.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "MagicStack/MagicPython",
|
||||
"repositoryUrl": "https://github.com/MagicStack/MagicPython",
|
||||
"commitHash": "7d0f2b22a5ad8fccbd7341bc7b7a715169283044"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "1.1.1"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "REditorSupport/vscode-R",
|
||||
"repositoryUrl": "https://github.com/REditorSupport/vscode-R",
|
||||
"commitHash": "ad966f3b2de8a83594f90aa5b51f5b569cf02c08"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "2.8.1"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -639,4 +639,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "dotnet/razor",
|
||||
"repositoryUrl": "https://github.com/dotnet/razor",
|
||||
"commitHash": "69f60231df08319b544d3d32a588575acbb58ff0"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "1.0.0",
|
||||
"licenseDetail": [
|
||||
"MIT License",
|
||||
"",
|
||||
"Copyright (c) .NET Foundation and Contributors",
|
||||
"All Rights Reserved",
|
||||
"",
|
||||
"Permission is hereby granted, free of charge, to any person obtaining a copy",
|
||||
"of this software and associated documentation files (the \"Software\"), to deal",
|
||||
"in the Software without restriction, including without limitation the rights",
|
||||
"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell",
|
||||
"copies of the Software, and to permit persons to whom the Software is",
|
||||
"furnished to do so, subject to the following conditions:",
|
||||
"",
|
||||
"The above copyright notice and this permission notice shall be included in all",
|
||||
"copies or substantial portions of the Software.",
|
||||
"",
|
||||
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR",
|
||||
"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,",
|
||||
"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE",
|
||||
"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER",
|
||||
"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,",
|
||||
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE",
|
||||
"SOFTWARE."
|
||||
]
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"information_for_contributors": [
|
||||
"This file has been converted from https://github.com/dotnet/razor/blob/master/src/Razor/src/Microsoft.AspNetCore.Razor.VSCode.Extension/syntaxes/aspnetcorerazor.tmLanguage.json",
|
||||
"This file has been converted from https://github.com/dotnet/razor/blob/master/src/Razor/src/Microsoft.VisualStudio.RazorExtension/EmbeddedGrammars/aspnetcorerazor.tmLanguage.json",
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/dotnet/razor/commit/69f60231df08319b544d3d32a588575acbb58ff0",
|
||||
"version": "https://github.com/dotnet/razor/commit/f01e110af179981942987384d2b5d4e489eab014",
|
||||
"name": "ASP.NET Razor",
|
||||
"scopeName": "text.html.cshtml",
|
||||
"patterns": [
|
||||
@@ -527,6 +527,15 @@
|
||||
},
|
||||
{
|
||||
"include": "#using-directive"
|
||||
},
|
||||
{
|
||||
"include": "#rendermode-directive"
|
||||
},
|
||||
{
|
||||
"include": "#preservewhitespace-directive"
|
||||
},
|
||||
{
|
||||
"include": "#typeparam-directive"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -851,6 +860,75 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"rendermode-directive": {
|
||||
"name": "meta.directive",
|
||||
"match": "(@)(rendermode)\\s+([^$]+)?",
|
||||
"captures": {
|
||||
"1": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#transition"
|
||||
}
|
||||
]
|
||||
},
|
||||
"2": {
|
||||
"name": "keyword.control.razor.directive.rendermode"
|
||||
},
|
||||
"3": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "source.cs#type"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"preservewhitespace-directive": {
|
||||
"name": "meta.directive",
|
||||
"match": "(@)(preservewhitespace)\\s+([^$]+)?",
|
||||
"captures": {
|
||||
"1": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#transition"
|
||||
}
|
||||
]
|
||||
},
|
||||
"2": {
|
||||
"name": "keyword.control.razor.directive.preservewhitespace"
|
||||
},
|
||||
"3": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "source.cs#boolean-literal"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"typeparam-directive": {
|
||||
"name": "meta.directive",
|
||||
"match": "(@)(typeparam)\\s+([^$]+)?",
|
||||
"captures": {
|
||||
"1": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#transition"
|
||||
}
|
||||
]
|
||||
},
|
||||
"2": {
|
||||
"name": "keyword.control.razor.directive.typeparam"
|
||||
},
|
||||
"3": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "source.cs#type"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"attribute-directive": {
|
||||
"name": "meta.directive",
|
||||
"begin": "(@)(attribute)\\b\\s+",
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "trond-snekvik/vscode-rst",
|
||||
"repositoryUrl": "https://github.com/trond-snekvik/vscode-rst",
|
||||
"commitHash": "7f2d6bb4e20642b60f2979afcb594cfe4b48117a"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "1.5.3"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "textmate/ruby.tmbundle",
|
||||
"repositoryUrl": "https://github.com/textmate/ruby.tmbundle",
|
||||
"commitHash": "efcb8941c701343f1b2e9fb105c678152fea6892"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"Copyright (c) textmate-ruby.tmbundle project authors",
|
||||
"",
|
||||
"If not otherwise specified (see below), files in this folder fall under the following license: ",
|
||||
"",
|
||||
"Permission to copy, use, modify, sell and distribute this",
|
||||
"software is granted. This software is provided \"as is\" without",
|
||||
"express or implied warranty, and with no claim as to its",
|
||||
"suitability for any purpose.",
|
||||
"",
|
||||
"An exception is made for files in readable text which contain their own license information, ",
|
||||
"or files where an accompanying file exists (in the same directory) with a \"-license\" suffix added ",
|
||||
"to the base-name name of the original file, and an extension of txt, html, or similar. For example ",
|
||||
"\"tidy\" is accompanied by \"tidy-license.txt\"."
|
||||
],
|
||||
"license": "TextMate Bundle License",
|
||||
"version": "0.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -26,6 +26,6 @@
|
||||
],
|
||||
"indentationRules": {
|
||||
"increaseIndentPattern": "^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|in|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^#\\{;]|(\"|'|\/).*\\4)*(#.*)?$",
|
||||
"decreaseIndentPattern": "^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when|in)\\b)"
|
||||
"decreaseIndentPattern": "^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif)\\b|(in|when)\\s)"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "rust-syntax",
|
||||
"repositoryUrl": "https://github.com/dustypomerleau/rust-syntax",
|
||||
"commitHash": "328a68299533bc2b8c71028be741cce78a9e0d53"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"description": "A TextMate-style grammar for Rust.",
|
||||
"version": "0.6.1"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/dustypomerleau/rust-syntax/commit/328a68299533bc2b8c71028be741cce78a9e0d53",
|
||||
"version": "https://github.com/dustypomerleau/rust-syntax/commit/ffa06ae9d52ea5464d3047cdbdc6bb970a665d23",
|
||||
"name": "Rust",
|
||||
"scopeName": "source.rust",
|
||||
"patterns": [
|
||||
@@ -119,54 +119,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "attributes",
|
||||
"name": "meta.attribute.rust",
|
||||
"begin": "(#)(\\!?)(\\[)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.attribute.rust"
|
||||
},
|
||||
"2": {
|
||||
"name": "keyword.operator.attribute.inner.rust"
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.brackets.attribute.rust"
|
||||
}
|
||||
},
|
||||
"end": "\\]",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.brackets.attribute.rust"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#block-comments"
|
||||
},
|
||||
{
|
||||
"include": "#comments"
|
||||
},
|
||||
{
|
||||
"include": "#keywords"
|
||||
},
|
||||
{
|
||||
"include": "#lifetimes"
|
||||
},
|
||||
{
|
||||
"include": "#punctuation"
|
||||
},
|
||||
{
|
||||
"include": "#strings"
|
||||
},
|
||||
{
|
||||
"include": "#gtypes"
|
||||
},
|
||||
{
|
||||
"include": "#types"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"comment": "modules",
|
||||
"match": "(mod)\\s+((?:r#(?!crate|[Ss]elf|super))?[a-z][A-Za-z0-9_]*)",
|
||||
@@ -257,6 +209,9 @@
|
||||
{
|
||||
"include": "#comments"
|
||||
},
|
||||
{
|
||||
"include": "#attributes"
|
||||
},
|
||||
{
|
||||
"include": "#lvariables"
|
||||
},
|
||||
@@ -300,12 +255,22 @@
|
||||
{
|
||||
"comment": "documentation comments",
|
||||
"name": "comment.line.documentation.rust",
|
||||
"match": "^\\s*///.*"
|
||||
"match": "(///).*$",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.comment.rust"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "line comments",
|
||||
"name": "comment.line.double-slash.rust",
|
||||
"match": "\\s*//.*"
|
||||
"match": "(//).*$",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.comment.rust"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -421,7 +386,7 @@
|
||||
"escapes": {
|
||||
"comment": "escapes: ASCII, byte, Unicode, quote, regex",
|
||||
"name": "constant.character.escape.rust",
|
||||
"match": "(\\\\)(?:(?:(x[0-7][0-7a-fA-F])|(u(\\{)[\\da-fA-F]{4,6}(\\}))|.))",
|
||||
"match": "(\\\\)(?:(?:(x[0-7][\\da-fA-F])|(u(\\{)[\\da-fA-F]{4,6}(\\}))|.))",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "constant.character.escape.backslash.rust"
|
||||
@@ -440,6 +405,51 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"attributes": {
|
||||
"comment": "attributes",
|
||||
"name": "meta.attribute.rust",
|
||||
"begin": "(#)(\\!?)(\\[)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.attribute.rust"
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.brackets.attribute.rust"
|
||||
}
|
||||
},
|
||||
"end": "\\]",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.brackets.attribute.rust"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#block-comments"
|
||||
},
|
||||
{
|
||||
"include": "#comments"
|
||||
},
|
||||
{
|
||||
"include": "#keywords"
|
||||
},
|
||||
{
|
||||
"include": "#lifetimes"
|
||||
},
|
||||
{
|
||||
"include": "#punctuation"
|
||||
},
|
||||
{
|
||||
"include": "#strings"
|
||||
},
|
||||
{
|
||||
"include": "#gtypes"
|
||||
},
|
||||
{
|
||||
"include": "#types"
|
||||
}
|
||||
]
|
||||
},
|
||||
"functions": {
|
||||
"patterns": [
|
||||
{
|
||||
@@ -548,6 +558,9 @@
|
||||
{
|
||||
"include": "#comments"
|
||||
},
|
||||
{
|
||||
"include": "#attributes"
|
||||
},
|
||||
{
|
||||
"include": "#keywords"
|
||||
},
|
||||
@@ -608,6 +621,9 @@
|
||||
{
|
||||
"include": "#comments"
|
||||
},
|
||||
{
|
||||
"include": "#attributes"
|
||||
},
|
||||
{
|
||||
"include": "#keywords"
|
||||
},
|
||||
@@ -913,7 +929,7 @@
|
||||
},
|
||||
{
|
||||
"comment": "parameterized types",
|
||||
"begin": "\\b([A-Z][A-Za-z0-9]*)(<)",
|
||||
"begin": "\\b(_?[A-Z][A-Za-z0-9_]*)(<)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "entity.name.type.rust"
|
||||
@@ -962,7 +978,7 @@
|
||||
},
|
||||
{
|
||||
"comment": "trait declarations",
|
||||
"match": "\\b(trait)\\s+([A-Z][A-Za-z0-9]*)\\b",
|
||||
"match": "\\b(trait)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "keyword.declaration.trait.rust storage.type.rust"
|
||||
@@ -974,7 +990,7 @@
|
||||
},
|
||||
{
|
||||
"comment": "struct declarations",
|
||||
"match": "\\b(struct)\\s+([A-Z][A-Za-z0-9]*)\\b",
|
||||
"match": "\\b(struct)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "keyword.declaration.struct.rust storage.type.rust"
|
||||
@@ -986,7 +1002,7 @@
|
||||
},
|
||||
{
|
||||
"comment": "enum declarations",
|
||||
"match": "\\b(enum)\\s+([A-Z][A-Za-z0-9_]*)\\b",
|
||||
"match": "\\b(enum)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "keyword.declaration.enum.rust storage.type.rust"
|
||||
@@ -998,7 +1014,7 @@
|
||||
},
|
||||
{
|
||||
"comment": "type declarations",
|
||||
"match": "\\b(type)\\s+([A-Z][A-Za-z0-9_]*)\\b",
|
||||
"match": "\\b(type)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "keyword.declaration.type.rust storage.type.rust"
|
||||
@@ -1011,7 +1027,7 @@
|
||||
{
|
||||
"comment": "types",
|
||||
"name": "entity.name.type.rust",
|
||||
"match": "\\b[A-Z][A-Za-z0-9]*\\b(?!!)"
|
||||
"match": "\\b_?[A-Z][A-Za-z0-9_]*\\b(?!!)"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "atom/language-sass",
|
||||
"repositoryUrl": "https://github.com/atom/language-sass",
|
||||
"commitHash": "f52ab12f7f9346cc2568129d8c4419bd3d506b47"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"description": "The file syntaxes/scss.json was derived from the Atom package https://github.com/atom/language-sass which was originally converted from the TextMate bundle https://github.com/alexsancho/SASS.tmbundle.",
|
||||
"version": "0.62.1"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "shaders-tmLanguage",
|
||||
"repositoryUrl": "https://github.com/tgjones/shaders-tmLanguage",
|
||||
"commitHash": "c72c8b39380ba5a86c58ceed053b5d965ebf38b3"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "0.1.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "jeff-hykin/better-shell-syntax",
|
||||
"repositoryUrl": "https://github.com/jeff-hykin/better-shell-syntax",
|
||||
"commitHash": "a3de7b32f1537194a83ee848838402fbf4b67424"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "1.6.2"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "microsoft/vscode-mssql",
|
||||
"repositoryUrl": "https://github.com/microsoft/vscode-mssql",
|
||||
"commitHash": "9cb3529a978ddf599bf5bdd228f21bbcfe2914f5"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "1.20.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -1,74 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "vscode-swift",
|
||||
"repositoryUrl": "https://github.com/owensd/vscode-swift",
|
||||
"commitHash": "cec27af6662e3799120b208e64483efdfe5521f5"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"The MIT License (MIT)",
|
||||
"",
|
||||
"Copyright (c) 2015 David Owens II",
|
||||
"",
|
||||
"Permission is hereby granted, free of charge, to any person obtaining a copy",
|
||||
"of this software and associated documentation files (the \"Software\"), to deal",
|
||||
"in the Software without restriction, including without limitation the rights",
|
||||
"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell",
|
||||
"copies of the Software, and to permit persons to whom the Software is",
|
||||
"furnished to do so, subject to the following conditions:",
|
||||
"",
|
||||
"The above copyright notice and this permission notice shall be included in all",
|
||||
"copies or substantial portions of the Software.",
|
||||
"",
|
||||
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR",
|
||||
"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,",
|
||||
"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE",
|
||||
"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER",
|
||||
"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,",
|
||||
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
|
||||
],
|
||||
"license": "MIT",
|
||||
"description": "The files in this folder are based on https://github.com/owensd/vscode-swift.",
|
||||
"version": "0.0.1"
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "freebroccolo/atom-language-swift",
|
||||
"repositoryUrl": "https://github.com/freebroccolo/atom-language-swift",
|
||||
"commitHash": "d8f4ed1f79cbb4d5d215e7a68fa8cc6b618e16e0"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"The MIT License (MIT)",
|
||||
"",
|
||||
"Copyright (c) 2014 Darin Morrison",
|
||||
"",
|
||||
"Permission is hereby granted, free of charge, to any person obtaining a copy",
|
||||
"of this software and associated documentation files (the \"Software\"), to deal",
|
||||
"in the Software without restriction, including without limitation the rights",
|
||||
"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell",
|
||||
"copies of the Software, and to permit persons to whom the Software is",
|
||||
"furnished to do so, subject to the following conditions:",
|
||||
"",
|
||||
"The above copyright notice and this permission notice shall be included in all",
|
||||
"copies or substantial portions of the Software.",
|
||||
"",
|
||||
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR",
|
||||
"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,",
|
||||
"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE",
|
||||
"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER",
|
||||
"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,",
|
||||
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
|
||||
],
|
||||
"license": "MIT",
|
||||
"version": "0.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -25,13 +25,14 @@ Read the [Troubleshooting Guide](#troubleshooting) for answers to common questio
|
||||
- [Syntax highlighting](#syntax-highlighting) Highlighting syntax from Terraform 0.12 to 1.X
|
||||
- [Code Navigation](#code-navigation) Navigate through your codebase with Go to Definition and Symbol support
|
||||
- [Code Formatting](#code-formatting) Format your code with `terraform fmt` automatically
|
||||
- [Code Snippets](#code-snippets) Shortcuts for commmon snippets like `for_each` and `variable`
|
||||
- [Code Snippets](#code-snippets) Shortcuts for common snippets like `for_each` and `variable`
|
||||
- [Terraform Cloud Integration](#terraform-cloud-integration) View Terraform Cloud Workspaces and Run details inside VS Code
|
||||
- [Terraform Module Explorer](#terraform-module-and-provider-explorer) View all modules and providers referenced in the currently open document.
|
||||
- [Terraform commands](#terraform-commands) Directly execute commands like `terraform init` or `terraform plan` from the VS Code Command Palette.
|
||||
|
||||
### IntelliSense and Autocomplete
|
||||
|
||||
IntelliSense is a general term for a variety of code editing features including: code completion, parameter info, quick info, and member lists. IntelliSense features are sometimes called by other names such as autcomplete, code completion, and code hinting.
|
||||
IntelliSense is a general term for a variety of code editing features including: code completion, parameter info, quick info, and member lists. IntelliSense features are sometimes called by other names such as autocomplete, code completion, and code hinting.
|
||||
|
||||
For Terraform constructs like resource and data, labels, blocks and attributes are auto completed both at the root of the document and inside other blocks. This also works for Terraform modules that are installed in the workspace, attributes and other constructs are autocompleted.
|
||||
|
||||
@@ -114,6 +115,38 @@ The extension provides several snippets to accelerate adding Terraform code to y
|
||||
- `vare` - Empty variable
|
||||
- `varm` - Map Variable
|
||||
|
||||
### Terraform Cloud Integration
|
||||
|
||||
Every time you have to switch away from your code, you risk losing momentum and the context about your tasks. Previously, Terraform users needed to have at least two windows open – their editor and a web page – to develop Terraform code. The editor contains all of the Terraform code they are working on, and the web page has the Terraform Cloud workspace loaded. Switching back and forth between the Terraform Cloud website and the text editor can be a frustrating and fragmented experience.
|
||||
|
||||
The Terraform Cloud Visual Studio Code integration improves user experience by allowing users to view workspaces directly from within Visual Studio Code. Users can view the status of current and past runs and inspect detailed logs – without ever leaving the comfort of their editor.
|
||||
|
||||
To start using Terraform Cloud with VS Code, open the new Terraform Cloud sidebar and click "Login to Terraform Cloud". You can login using a stored token from the Terraform CLI, an existing token you provide, or open the Terraform Cloud website to generate a new token.
|
||||
|
||||

|
||||
|
||||
Once logged in, you are prompted to choose which Organization to view workspaces in.
|
||||
|
||||

|
||||
|
||||
Now that your Organization is chosen, the Workspace view populates with all workspaces your token has permission to view. At a glance, you can see the last run status of each Workspace. Hovering over a workspace shows detailed information about each workspace.
|
||||
|
||||

|
||||
|
||||
Selecting a workspace populates the Run view with a list of runs for that workspace. At a glance, you can see the status of each Run, and hover over each for more detailed information.
|
||||
|
||||

|
||||
|
||||
If a Run has been Planned or Applied, you can view the raw log for each by expanding the Run then selecting the 'View Raw Log' button for either the Plan or Apply.
|
||||
|
||||

|
||||
|
||||
To sign out or log out of your Terraform Cloud session, click the Accounts icon next to the Settings icon in the Activity Bar and select "Sign Out":
|
||||
|
||||

|
||||
|
||||
This will clear the currently saved token and allow you to login using a different token.
|
||||
|
||||
### Terraform Module and Provider Explorer
|
||||
|
||||
List Terraform modules used in the current open document in the Explorer Pane, or drag to the Side Bar pane for an expanded view.
|
||||
@@ -145,16 +178,17 @@ The Terraform VS Code extension bundles the [Terraform Language Server](https://
|
||||
|
||||
The extension does require the following to be installed before use:
|
||||
|
||||
- VS Code v1.75 or greater
|
||||
- VS Code v1.82 or greater
|
||||
- Terraform v0.12 or greater
|
||||
|
||||
## Platform Support
|
||||
|
||||
The extension should work anywhere VS Code itself and Terraform 0.12 or higher is supported. Our test matrix includes the following:
|
||||
|
||||
- Windows Server 2019 with Terraform v1.1
|
||||
- macOS 10.15 with Terraform v1.1
|
||||
- Ubuntu 20.04 with Terraform v1.1
|
||||
- Windows Server 2022 with Terraform v1.6
|
||||
- macOS 12 with Terraform v1.6
|
||||
- macOS 11 with Terraform v1.6
|
||||
- Ubuntu 22.04 with Terraform v1.6
|
||||
|
||||
Intellisense, error checking and other language features are supported for Terraform v0.12 and greater.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "terraform",
|
||||
"version": "2.28.2",
|
||||
"version": "2.29.4",
|
||||
"description": "Syntax highlighting and autocompletion for Terraform",
|
||||
"license": "MPL-2.0",
|
||||
"contributes": {
|
||||
@@ -89,12 +89,12 @@
|
||||
"description": "Keyword"
|
||||
},
|
||||
{
|
||||
"id": "hcl-traversalStep",
|
||||
"id": "hcl-referenceStep",
|
||||
"superType": "variable",
|
||||
"description": "Traversal step"
|
||||
"description": "Reference step"
|
||||
},
|
||||
{
|
||||
"id": "hcl-typeCapsule",
|
||||
"id": "hcl-typeComplex",
|
||||
"superType": "keyword",
|
||||
"description": "Type (complex)"
|
||||
},
|
||||
@@ -139,10 +139,10 @@
|
||||
"hcl-keyword": [
|
||||
"keyword.control"
|
||||
],
|
||||
"hcl-traversalStep": [
|
||||
"hcl-referenceStep": [
|
||||
"variable.other.readwrite"
|
||||
],
|
||||
"hcl-typeCapsule": [
|
||||
"hcl-typeComplex": [
|
||||
"keyword.control"
|
||||
],
|
||||
"hcl-typePrimitive": [
|
||||
@@ -216,6 +216,15 @@
|
||||
"description": "Required providers"
|
||||
}
|
||||
],
|
||||
"icons": {
|
||||
"run-status-running": {
|
||||
"description": "Run Status icon",
|
||||
"default": {
|
||||
"fontPath": "./assets/icons/running.woff",
|
||||
"fontCharacter": "D"
|
||||
}
|
||||
}
|
||||
},
|
||||
"snippets": [
|
||||
{
|
||||
"language": "terraform",
|
||||
@@ -354,32 +363,32 @@
|
||||
"commands": [
|
||||
{
|
||||
"command": "terraform.generateBugReport",
|
||||
"title": "Terraform: Generate Bug Report"
|
||||
"title": "HashiCorp Terraform: Generate Bug Report"
|
||||
},
|
||||
{
|
||||
"command": "terraform.enableLanguageServer",
|
||||
"title": "Terraform: Enable Language Server"
|
||||
"title": "HashiCorp Terraform: Enable Language Server"
|
||||
},
|
||||
{
|
||||
"command": "terraform.disableLanguageServer",
|
||||
"title": "Terraform: Disable Language Server"
|
||||
"title": "HashiCorp Terraform: Disable Language Server"
|
||||
},
|
||||
{
|
||||
"command": "terraform.init",
|
||||
"title": "Terraform: init"
|
||||
"title": "HashiCorp Terraform: init"
|
||||
},
|
||||
{
|
||||
"command": "terraform.initCurrent",
|
||||
"title": "Terraform: init current folder",
|
||||
"title": "HashiCorp Terraform: init current folder",
|
||||
"icon": "$(cloud-download)"
|
||||
},
|
||||
{
|
||||
"command": "terraform.validate",
|
||||
"title": "Terraform: validate"
|
||||
"title": "HashiCorp Terraform: validate"
|
||||
},
|
||||
{
|
||||
"command": "terraform.plan",
|
||||
"title": "Terraform: plan"
|
||||
"title": "HashiCorp Terraform: plan"
|
||||
},
|
||||
{
|
||||
"command": "terraform.modules.refreshList",
|
||||
@@ -400,6 +409,70 @@
|
||||
"command": "terraform.providers.openDocumentation",
|
||||
"title": "Open Documentation",
|
||||
"icon": "$(book)"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.login",
|
||||
"title": "HashiCorp Terraform Cloud: Login",
|
||||
"enablement": "terraform.cloud.signed-in === false"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.workspaces.refresh",
|
||||
"title": "Refresh",
|
||||
"icon": "$(refresh)",
|
||||
"enablement": "terraform.cloud.signed-in"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.workspaces.viewInBrowser",
|
||||
"title": "View workspace",
|
||||
"icon": "$(globe)",
|
||||
"enablement": "terraform.cloud.signed-in"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.runs.refresh",
|
||||
"title": "Refresh",
|
||||
"icon": "$(refresh)",
|
||||
"enablement": "terraform.cloud.signed-in"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.run.viewInBrowser",
|
||||
"title": "View run",
|
||||
"icon": "$(globe)",
|
||||
"enablement": "terraform.cloud.signed-in"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.run.plan.downloadLog",
|
||||
"title": "View raw plan log",
|
||||
"icon": "$(console)",
|
||||
"enablement": "terraform.cloud.signed-in"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.run.viewPlan",
|
||||
"title": "View plan output",
|
||||
"icon": "$(output)",
|
||||
"enablement": "terraform.cloud.signed-in"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.run.apply.downloadLog",
|
||||
"title": "View raw apply log",
|
||||
"icon": "$(output)",
|
||||
"enablement": "terraform.cloud.signed-in"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.run.viewApply",
|
||||
"title": "View apply output",
|
||||
"icon": "$(output)"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.organization.picker",
|
||||
"title": "HashiCorp Terraform Cloud: Pick Organization",
|
||||
"icon": "$(account)",
|
||||
"enablement": "terraform.cloud.signed-in"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.workspaces.filterByProject",
|
||||
"title": "Filter by project",
|
||||
"icon": "$(filter)",
|
||||
"enablement": "terraform.cloud.signed-in"
|
||||
}
|
||||
],
|
||||
"menus": {
|
||||
@@ -443,6 +516,50 @@
|
||||
{
|
||||
"command": "terraform.providers.openDocumentation",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.login",
|
||||
"when": "terraform.cloud.signed-in === false && terraform.cloud.views.visible"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.organization.picker",
|
||||
"when": "terraform.cloud.signed-in"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.workspaces.viewInBrowser",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.run.viewInBrowser",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.run.plan.downloadLog",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.run.viewPlan",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.runs.refresh",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.run.apply.downloadLog",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.run.viewApply",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.workspaces.filterByProject",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.workspaces.refresh",
|
||||
"when": "false"
|
||||
}
|
||||
],
|
||||
"view/title": [
|
||||
@@ -460,6 +577,26 @@
|
||||
"command": "terraform.initCurrent",
|
||||
"when": "view == terraform.providers",
|
||||
"group": "navigation"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.workspaces.filterByProject",
|
||||
"when": "view == terraform.cloud.workspaces",
|
||||
"group": "navigation"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.organization.picker",
|
||||
"when": "view == terraform.cloud.workspaces",
|
||||
"group": "navigation"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.workspaces.refresh",
|
||||
"when": "view == terraform.cloud.workspaces",
|
||||
"group": "navigation"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.runs.refresh",
|
||||
"when": "view == terraform.cloud.runs",
|
||||
"group": "navigation"
|
||||
}
|
||||
],
|
||||
"view/item/context": [
|
||||
@@ -470,6 +607,36 @@
|
||||
{
|
||||
"command": "terraform.providers.openDocumentation",
|
||||
"when": "view == terraform.providers && viewItem == moduleProviderHasDocs"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.workspaces.viewInBrowser",
|
||||
"when": "view == terraform.cloud.workspaces && viewItem =~ /hasLink/",
|
||||
"group": "inline"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.run.viewInBrowser",
|
||||
"when": "view == terraform.cloud.runs && viewItem =~ /isRun/",
|
||||
"group": "inline"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.run.plan.downloadLog",
|
||||
"when": "view == terraform.cloud.runs && viewItem =~ /hasRawPlan/",
|
||||
"group": "inline"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.run.viewPlan",
|
||||
"when": "view == terraform.cloud.runs && viewItem =~ /hasStructuredPlan/",
|
||||
"group": "inline"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.run.apply.downloadLog",
|
||||
"when": "view == terraform.cloud.runs && viewItem =~ /hasRawApply/",
|
||||
"group": "inline"
|
||||
},
|
||||
{
|
||||
"command": "terraform.cloud.run.viewApply",
|
||||
"when": "view == terraform.cloud.runs && viewItem =~ /hasStructuredApply/",
|
||||
"group": "inline"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -483,6 +650,30 @@
|
||||
"id": "terraform.modules",
|
||||
"name": "Module Calls"
|
||||
}
|
||||
],
|
||||
"terraform-cloud": [
|
||||
{
|
||||
"id": "terraform.cloud.workspaces",
|
||||
"name": "Workspaces",
|
||||
"contextualTitle": "Terraform Cloud workspaces"
|
||||
},
|
||||
{
|
||||
"id": "terraform.cloud.runs",
|
||||
"name": "Runs",
|
||||
"contextualTitle": "Terraform Cloud runs"
|
||||
}
|
||||
],
|
||||
"terraform-cloud-panel": [
|
||||
{
|
||||
"id": "terraform.cloud.run.plan",
|
||||
"name": "Plan",
|
||||
"when": "terraform.cloud.run.viewingPlan"
|
||||
},
|
||||
{
|
||||
"id": "terraform.cloud.run.apply",
|
||||
"name": "Apply",
|
||||
"when": "terraform.cloud.run.viewingApply"
|
||||
}
|
||||
]
|
||||
},
|
||||
"viewsContainers": {
|
||||
@@ -490,18 +681,114 @@
|
||||
{
|
||||
"id": "terraform",
|
||||
"title": "HashiCorp Terraform",
|
||||
"icon": "assets/icons/terraform.svg"
|
||||
"icon": "assets/icons/vs_code_terraform.svg"
|
||||
},
|
||||
{
|
||||
"id": "terraform-cloud",
|
||||
"title": "HashiCorp Terraform Cloud",
|
||||
"icon": "assets/icons/vs_code_terraform_cloud.svg"
|
||||
}
|
||||
],
|
||||
"panel": [
|
||||
{
|
||||
"id": "terraform-cloud-panel",
|
||||
"title": "Terraform Cloud",
|
||||
"icon": "assets/icons/vs_code_terraform_cloud.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"viewsWelcome": [
|
||||
{
|
||||
"view": "terraform.providers",
|
||||
"contents": "The active editor cannot provide information about installed providers. [Learn more about providers](https://www.terraform.io/docs/language/providers/index.html). You may need to update your language server version."
|
||||
"contents": "This view requires the language server to be enabled:\n[Open Settings](command:terraform.openSettingsJson)",
|
||||
"when": "config.terraform.languageServer.enable === false"
|
||||
},
|
||||
{
|
||||
"view": "terraform.providers",
|
||||
"contents": "There are no open Terraform files. Please open a Terraform configuration file to see installed providers.",
|
||||
"when": "config.terraform.languageServer.enable && terraform.providers.documentOpened === false"
|
||||
},
|
||||
{
|
||||
"view": "terraform.providers",
|
||||
"contents": "The active document is not a Terraform file. Please open a Terraform configuration file to see installed providers.",
|
||||
"when": "config.terraform.languageServer.enable && terraform.providers.documentIsTerraform === false"
|
||||
},
|
||||
{
|
||||
"view": "terraform.providers",
|
||||
"contents": "There are no installed providers found for the current open file.\n[Learn more about providers](https://www.terraform.io/docs/language/providers/index.html)",
|
||||
"when": "config.terraform.languageServer.enable && terraform.providers.noProviders === true"
|
||||
},
|
||||
{
|
||||
"view": "terraform.providers",
|
||||
"contents": "The active editor cannot provide information about installed providers.\n[Learn more about providers](https://www.terraform.io/docs/language/providers/index.html)",
|
||||
"when": "config.terraform.languageServer.enable && terraform.providers.noResponse === true"
|
||||
},
|
||||
{
|
||||
"view": "terraform.modules",
|
||||
"contents": "The active editor cannot provide information about installed modules. [Learn more about modules](https://www.terraform.io/docs/language/modules/develop/index.html) You may need to run 'terraform get' or update your language server version."
|
||||
"contents": "This view requires the language server to be enabled:\n[Open Settings](command:terraform.openSettingsJson)",
|
||||
"when": "config.terraform.languageServer.enable === false"
|
||||
},
|
||||
{
|
||||
"view": "terraform.modules",
|
||||
"contents": "There are no open Terraform files. Please open a Terraform configuration file to see installed modules.",
|
||||
"when": "config.terraform.languageServer.enable && terraform.modules.documentOpened === false"
|
||||
},
|
||||
{
|
||||
"view": "terraform.modules",
|
||||
"contents": "The active document is not a Terraform file. Please open a Terraform configuration file to see installed modules.",
|
||||
"when": "config.terraform.languageServer.enable && terraform.modules.documentIsTerraform === false"
|
||||
},
|
||||
{
|
||||
"view": "terraform.modules",
|
||||
"contents": "There are no installed modules found for the current open file.\n[Learn more about modules](https://www.terraform.io/docs/language/modules/develop/index.html)",
|
||||
"when": "config.terraform.languageServer.enable && terraform.modules.noModules === true"
|
||||
},
|
||||
{
|
||||
"view": "terraform.modules",
|
||||
"contents": "The active editor cannot provide information about installed modules.\n[Learn more about modules](https://www.terraform.io/docs/language/modules/develop/index.html)",
|
||||
"when": "config.terraform.languageServer.enable && terraform.modules.noResponse === true"
|
||||
},
|
||||
{
|
||||
"view": "terraform.cloud.workspaces",
|
||||
"contents": "In order to use Terraform Cloud features, you need to be logged in\n[Login to Terraform Cloud](command:terraform.cloud.login)",
|
||||
"when": "terraform.cloud.signed-in === false"
|
||||
},
|
||||
{
|
||||
"view": "terraform.cloud.workspaces",
|
||||
"contents": "No organizations found for this token. Please create a new Terraform Cloud organization to get started\n[Create or select an organization](command:terraform.cloud.organization.picker)",
|
||||
"when": "terraform.cloud.signed-in && !terraform.cloud.organizationsExist && !terraform.cloud.organizationsChosen"
|
||||
},
|
||||
{
|
||||
"view": "terraform.cloud.workspaces",
|
||||
"contents": "Please choose an organization:\n[Select a organization](command:terraform.cloud.organization.picker)",
|
||||
"when": "terraform.cloud.signed-in && terraform.cloud.organizationsExist && !terraform.cloud.organizationsChosen"
|
||||
},
|
||||
{
|
||||
"view": "terraform.cloud.workspaces",
|
||||
"contents": "There are no workspaces in this organization.\n[Create a new workspace](command:terraform.cloud.workspaces.picker)\n[Choose a different organization](command:terraform.cloud.organization.picker)",
|
||||
"when": "terraform.cloud.signed-in && terraform.cloud.organizationsExist && terraform.cloud.organizationsChosen && !terraform.cloud.projectFilterUsed && !terraform.cloud.workspacesExist && !terraform.cloud.pendingOrgMembership"
|
||||
},
|
||||
{
|
||||
"view": "terraform.cloud.workspaces",
|
||||
"contents": "You have not yet accepted the invitation to this organization\n[See pending invitations](command:terraform.cloud.organization.viewInBrowser)\n[Choose a different organization](command:terraform.cloud.organization.picker)",
|
||||
"when": "terraform.cloud.signed-in && terraform.cloud.organizationsExist && terraform.cloud.organizationsChosen && !terraform.cloud.projectFilterUsed && !terraform.cloud.workspacesExist && terraform.cloud.pendingOrgMembership"
|
||||
},
|
||||
{
|
||||
"view": "terraform.cloud.workspaces",
|
||||
"contents": "There are no workspaces in this project\n[Create a new workspace](command:terraform.cloud.workspaces.picker)\n[Clear filter](command:terraform.cloud.workspaces.resetProjectFilter)",
|
||||
"when": "terraform.cloud.signed-in && terraform.cloud.organizationsExist && terraform.cloud.organizationsChosen && terraform.cloud.projectFilterUsed && !terraform.cloud.workspacesExist"
|
||||
},
|
||||
{
|
||||
"view": "terraform.cloud.runs",
|
||||
"contents": "Select a workspace to view a list of runs"
|
||||
},
|
||||
{
|
||||
"view": "terraform.cloud.run.plan",
|
||||
"contents": "Select a run to view a plan"
|
||||
},
|
||||
{
|
||||
"view": "terraform.cloud.run.apply",
|
||||
"contents": "Select a run to view an apply"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -284,15 +284,19 @@
|
||||
},
|
||||
"functions": {
|
||||
"name": "meta.function-call.hcl",
|
||||
"begin": "(\\w+)(\\()",
|
||||
"begin": "([:\\-\\w]+)(\\()",
|
||||
"end": "\\)",
|
||||
"comment": "Built-in function calls",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"patterns": [
|
||||
{
|
||||
"match": "\\b(abs|abspath|alltrue|anytrue|base64decode|base64encode|base64gzip|base64sha256|base64sha512|basename|bcrypt|can|ceil|chomp|chunklist|cidrhost|cidrnetmask|cidrsubnet|cidrsubnets|coalesce|coalescelist|compact|concat|contains|csvdecode|dirname|distinct|element|endswith|file|filebase64|filebase64sha256|filebase64sha512|fileexists|filemd5|fileset|filesha1|filesha256|filesha512|flatten|floor|format|formatdate|formatlist|indent|index|join|jsondecode|jsonencode|keys|length|log|lookup|lower|matchkeys|max|md5|merge|min|nonsensitive|one|parseint|pathexpand|plantimestamp|pow|range|regex|regexall|replace|reverse|rsadecrypt|sensitive|setintersection|setproduct|setsubtract|setunion|sha1|sha256|sha512|signum|slice|sort|split|startswith|strcontains|strrev|substr|sum|templatefile|textdecodebase64|textencodebase64|timeadd|timecmp|timestamp|title|tobool|tolist|tomap|tonumber|toset|tostring|transpose|trim|trimprefix|trimspace|trimsuffix|try|upper|urlencode|uuid|uuidv5|values|yamldecode|yamlencode|zipmap)\\b",
|
||||
"match": "\\b(core::)?(abs|abspath|alltrue|anytrue|base64decode|base64encode|base64gzip|base64sha256|base64sha512|basename|bcrypt|can|ceil|chomp|chunklist|cidrhost|cidrnetmask|cidrsubnet|cidrsubnets|coalesce|coalescelist|compact|concat|contains|csvdecode|dirname|distinct|element|endswith|file|filebase64|filebase64sha256|filebase64sha512|fileexists|filemd5|fileset|filesha1|filesha256|filesha512|flatten|floor|format|formatdate|formatlist|indent|index|join|jsondecode|jsonencode|keys|length|log|lookup|lower|matchkeys|max|md5|merge|min|nonsensitive|one|parseint|pathexpand|plantimestamp|pow|range|regex|regexall|replace|reverse|rsadecrypt|sensitive|setintersection|setproduct|setsubtract|setunion|sha1|sha256|sha512|signum|slice|sort|split|startswith|strcontains|strrev|substr|sum|templatefile|textdecodebase64|textencodebase64|timeadd|timecmp|timestamp|title|tobool|tolist|tomap|tonumber|toset|tostring|transpose|trim|trimprefix|trimspace|trimsuffix|try|upper|urlencode|uuid|uuidv5|values|yamldecode|yamlencode|zipmap)\\b",
|
||||
"name": "support.function.builtin.terraform"
|
||||
},
|
||||
{
|
||||
"match": "\\bprovider::[[:alpha:]][\\w_-]*::[[:alpha:]][\\w_-]*\\b",
|
||||
"name": "support.function.provider.terraform"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -43,6 +43,10 @@ Install through Visual Studio Code extensions. Search for `Twig Language 2`
|
||||
|
||||
[Visual Studio Code Market Place: Twig Language 2](https://marketplace.visualstudio.com/items?itemName=mblode.twig-language-2)
|
||||
|
||||
## Configuration
|
||||
|
||||
Restart VS Code after making changes to Twig Language 2 extension settings.
|
||||
|
||||
## Documentation
|
||||
|
||||
Twig Language 2 is a Visual Studio Code extension that provides snippets, syntax highlighting, hover, and formatting for the Twig file format.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "twig-language-2",
|
||||
"version": "0.9.2",
|
||||
"version": "0.9.4",
|
||||
"description": "Snippets, Syntax Highlighting, Hover, and Formatting for Twig",
|
||||
"license": "MIT",
|
||||
"contributes": {
|
||||
@@ -160,7 +160,7 @@
|
||||
"tab"
|
||||
],
|
||||
"default": "tab",
|
||||
"description": "Choose to indent using tabs or spaces."
|
||||
"description": "Choose to indent using tabs or spaces. This formatter will not use the \"Editor: Insert Spaces\" setting, nor will it use the `indent_style` setting declared in `.editorconfig` files."
|
||||
},
|
||||
"twig-language-2.indentLevel": {
|
||||
"type": "integer",
|
||||
@@ -170,7 +170,7 @@
|
||||
"twig-language-2.tabSize": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "0 will default to the editor's tab size. Stores the number of 'inchar' values to comprise a single indentation."
|
||||
"description": "0 will default to the editor's tab size (`editor.tabSize`). This formatter will not use the `indent_size` setting declared in `.editorconfig` files."
|
||||
},
|
||||
"twig-language-2.methodChain": {
|
||||
"type": "integer",
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
{
|
||||
"apply": {
|
||||
"prefix": "apply",
|
||||
"body": "{% apply %}\n\t$0\n{% endapply %}",
|
||||
"description": "apply",
|
||||
"scope": "text.html.twig"
|
||||
},
|
||||
"asset": {
|
||||
"prefix": "asset",
|
||||
"body":
|
||||
@@ -251,12 +257,24 @@
|
||||
"description": "else",
|
||||
"scope": "text.html.twig"
|
||||
},
|
||||
"elseif": {
|
||||
"prefix": "elseif",
|
||||
"body": "{% elseif %}\n\t$0",
|
||||
"description": "elseif",
|
||||
"scope": "text.html.twig"
|
||||
},
|
||||
"embed": {
|
||||
"prefix": "embed",
|
||||
"body": "{% embed \"${1:template}\" %}\n\t$0\n{% endembed %}",
|
||||
"description": "embed",
|
||||
"scope": "text.html.twig"
|
||||
},
|
||||
"endapply": {
|
||||
"prefix": "endapply",
|
||||
"body": "{% endapply %}$0",
|
||||
"description": "endapply",
|
||||
"scope": "text.html.twig"
|
||||
},
|
||||
"endautoescape": {
|
||||
"prefix": "endautoescape",
|
||||
"body": "{% endautoescape %}$0",
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
{
|
||||
"apply": {
|
||||
"prefix": "apply",
|
||||
"body": "{% apply %}\n\t$0\n{% endapply %}",
|
||||
"description": "apply",
|
||||
"scope": "text.html.twig"
|
||||
},
|
||||
"asset": {
|
||||
"prefix": "asset",
|
||||
"body":
|
||||
@@ -251,12 +257,24 @@
|
||||
"description": "else",
|
||||
"scope": "text.html.twig"
|
||||
},
|
||||
"elseif": {
|
||||
"prefix": "elseif",
|
||||
"body": "{% elseif %}\n\t$0",
|
||||
"description": "elseif",
|
||||
"scope": "text.html.twig"
|
||||
},
|
||||
"embed": {
|
||||
"prefix": "embed",
|
||||
"body": "{% embed \"${1:template}\" %}\n\t$0\n{% endembed %}",
|
||||
"description": "embed",
|
||||
"scope": "text.html.twig"
|
||||
},
|
||||
"endapply": {
|
||||
"prefix": "endapply",
|
||||
"body": "{% endapply %}$0",
|
||||
"description": "endapply",
|
||||
"scope": "text.html.twig"
|
||||
},
|
||||
"endautoescape": {
|
||||
"prefix": "endautoescape",
|
||||
"body": "{% endautoescape %}$0",
|
||||
|
||||
@@ -416,6 +416,25 @@
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>begin</key>
|
||||
<string>(?ix) # Enable free spacing mode, case insensitive
|
||||
(?<=\{\%\sscss\s\%\}|\{\%\sincludescss\s\%\}|\{\%\sincludehiresscss\s\%\})
|
||||
</string>
|
||||
<key>comment</key>
|
||||
<string>Add SCSS support to set tags that use the pattern "scss" in their name</string>
|
||||
<key>end</key>
|
||||
<string>(?ix)(?=\{\%\sendscss\s\%\}|\{\%\sendincludescss\s\%\}|\{\%\sendincludehiresscss\s\%\})</string>
|
||||
<key>name</key>
|
||||
<string>source.css.scss.embedded.twig</string>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>source.css.scss</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>begin</key>
|
||||
<string>(</?)((?i:body|head|html)\b)</string>
|
||||
@@ -951,7 +970,7 @@
|
||||
</dict>
|
||||
</dict>
|
||||
<key>match</key>
|
||||
<string>(?<=\s)(\?|:|and|not|or)(?=\s)</string>
|
||||
<string>(?<=\s)(\?|:|\?:|\?\?|and|not|or)(?=\s)</string>
|
||||
</dict>
|
||||
|
||||
<!-- RANGE -->
|
||||
@@ -1277,6 +1296,10 @@
|
||||
<key>include</key>
|
||||
<string>#twig-constants</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#twig-operators</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#twig-strings</string>
|
||||
@@ -1365,6 +1388,10 @@
|
||||
<key>include</key>
|
||||
<string>#twig-constants</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#twig-operators</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#twig-strings</string>
|
||||
@@ -1672,6 +1699,10 @@
|
||||
<key>include</key>
|
||||
<string>#twig-constants</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#twig-operators</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#twig-functions-warg</string>
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "TypeScript-TmLanguage",
|
||||
"repositoryUrl": "https://github.com/microsoft/TypeScript-TmLanguage",
|
||||
"commitHash": "8c7482b94b548eab56da64dbfb30b82589b3f747"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"description": "The files syntaxes/TypeScript.tmLanguage.json and syntaxes/TypeScriptReact.tmLanguage.json were derived from TypeScript.tmLanguage and TypeScriptReact.tmLanguage in https://github.com/microsoft/TypeScript-TmLanguage.",
|
||||
"version": "1.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -129,14 +129,14 @@
|
||||
},
|
||||
"indentationRules": {
|
||||
"decreaseIndentPattern": {
|
||||
"pattern": "^((?!.*?/\\*).*\\*\/)?\\s*[\\}\\]].*$"
|
||||
"pattern": "^((?!.*?/\\*).*\\*\/)?\\s*[\\}\\]\\)].*$"
|
||||
},
|
||||
"increaseIndentPattern": {
|
||||
"pattern": "^((?!//).)*(\\{([^}\"'`/]*|(\\t|[ ])*//.*)|\\([^)\"'`/]*|\\[[^\\]\"'`/]*)$"
|
||||
},
|
||||
// e.g. * ...| or */| or *-----*/|
|
||||
"unIndentedLinePattern": {
|
||||
"pattern": "^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$"
|
||||
"pattern": "^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*\\*([ ]([^\\*]|\\*(?!/))*)?$"
|
||||
}
|
||||
},
|
||||
"onEnterRules": [
|
||||
@@ -166,7 +166,7 @@
|
||||
{
|
||||
// e.g. * ...|
|
||||
"beforeText": {
|
||||
"pattern": "^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$"
|
||||
"pattern": "^(\\t|[ ])*\\*([ ]([^\\*]|\\*(?!/))*)?$"
|
||||
},
|
||||
"previousLineText": {
|
||||
"pattern": "(?=^(\\s*(/\\*\\*|\\*)).*)(?=(?!(\\s*\\*/)))"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/8c7482b94b548eab56da64dbfb30b82589b3f747",
|
||||
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/b80b7509a78e642f789c567e144ed951ab98b4e3",
|
||||
"name": "TypeScript",
|
||||
"scopeName": "source.ts",
|
||||
"patterns": [
|
||||
@@ -2348,12 +2348,15 @@
|
||||
]
|
||||
},
|
||||
"import-export-assert-clause": {
|
||||
"begin": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(assert)\\s*(\\{)",
|
||||
"begin": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(with)|(assert))\\s*(\\{)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "keyword.control.assert.ts"
|
||||
"name": "keyword.control.with.ts"
|
||||
},
|
||||
"2": {
|
||||
"name": "keyword.control.assert.ts"
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.definition.block.ts"
|
||||
}
|
||||
},
|
||||
|
||||
+6
-3
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/8c7482b94b548eab56da64dbfb30b82589b3f747",
|
||||
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/b80b7509a78e642f789c567e144ed951ab98b4e3",
|
||||
"name": "TypeScriptReact",
|
||||
"scopeName": "source.tsx",
|
||||
"patterns": [
|
||||
@@ -2351,12 +2351,15 @@
|
||||
]
|
||||
},
|
||||
"import-export-assert-clause": {
|
||||
"begin": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(assert)\\s*(\\{)",
|
||||
"begin": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(with)|(assert))\\s*(\\{)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "keyword.control.assert.tsx"
|
||||
"name": "keyword.control.with.tsx"
|
||||
},
|
||||
"2": {
|
||||
"name": "keyword.control.assert.tsx"
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.definition.block.tsx"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "textmate/asp.vb.net.tmbundle",
|
||||
"repositoryUrl": "https://github.com/textmate/asp.vb.net.tmbundle",
|
||||
"commitHash": "72d44550b3286d0382d7be0624140cf97857ff69"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"Copyright (c) textmate-asp.vb.net.tmbundle project authors",
|
||||
"",
|
||||
"If not otherwise specified (see below), files in this folder fall under the following license: ",
|
||||
"",
|
||||
"Permission to copy, use, modify, sell and distribute this",
|
||||
"software is granted. This software is provided \"as is\" without",
|
||||
"express or implied warranty, and with no claim as to its",
|
||||
"suitability for any purpose.",
|
||||
"",
|
||||
"An exception is made for files in readable text which contain their own license information, ",
|
||||
"or files where an accompanying file exists (in the same directory) with a \"-license\" suffix added ",
|
||||
"to the base-name name of the original file, and an extension of txt, html, or similar. For example ",
|
||||
"\"tidy\" is accompanied by \"tidy-license.txt\"."
|
||||
],
|
||||
"license": "TextMate Bundle License",
|
||||
"version": "0.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -25,7 +25,7 @@
|
||||
{
|
||||
"language": "vb",
|
||||
"scopeName": "source.asp.vb.net",
|
||||
"path": "./syntaxes/asp-vb-net.tmlanguage.json"
|
||||
"path": "./syntaxes/asp-vb-net.tmLanguage.json"
|
||||
}
|
||||
],
|
||||
"snippets": [
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "atom/language-xml",
|
||||
"repositoryUrl": "https://github.com/atom/language-xml",
|
||||
"commitHash": "7bc75dfe779ad5b35d9bf4013d9181864358cb49"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"description": "The files syntaxes/xml.json and syntaxes/xsl.json were derived from the Atom package https://github.com/atom/language-xml which were originally converted from the TextMate bundle https://github.com/textmate/xml.tmbundle.",
|
||||
"version": "0.35.2"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -14,8 +14,7 @@
|
||||
{ "open": "(", "close": ")" },
|
||||
{ "open": "\"", "close": "\"", "notIn": ["string"] },
|
||||
{ "open": "'", "close": "'", "notIn": ["string"] },
|
||||
{ "open": "<!--", "close": "-->", "notIn": [ "comment", "string" ]},
|
||||
{ "open": "<![CDATA[", "close": "]]>", "notIn": [ "comment", "string" ]}
|
||||
{ "open": "<!--", "close": "-->", "notIn": [ "comment", "string" ]}
|
||||
],
|
||||
"surroundingPairs": [
|
||||
{ "open": "'", "close": "'" },
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "textmate/yaml.tmbundle",
|
||||
"repositoryUrl": "https://github.com/textmate/yaml.tmbundle",
|
||||
"commitHash": "e54ceae3b719506dba7e481a77cea4a8b576ae46"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"Copyright (c) 2015 FichteFoll <fichtefoll2@googlemail.com>",
|
||||
"",
|
||||
"Permission is hereby granted, free of charge, to any person obtaining a copy",
|
||||
"of this software and associated documentation files (the \"Software\"), to deal",
|
||||
"in the Software without restriction, including without limitation the rights",
|
||||
"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell",
|
||||
"copies of the Software, and to permit persons to whom the Software is",
|
||||
"furnished to do so, subject to the following conditions:",
|
||||
"",
|
||||
"The above copyright notice and this permission notice shall be included in all",
|
||||
"copies or substantial portions of the Software.",
|
||||
"",
|
||||
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR",
|
||||
"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,",
|
||||
"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE",
|
||||
"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER",
|
||||
"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,",
|
||||
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
|
||||
],
|
||||
"license": "TextMate Bundle License",
|
||||
"version": "0.0.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
@@ -28,11 +28,14 @@
|
||||
"yaml"
|
||||
],
|
||||
"extensions": [
|
||||
".yaml",
|
||||
".yml",
|
||||
".eyaml",
|
||||
".eyml",
|
||||
".yaml",
|
||||
".cff"
|
||||
".cff",
|
||||
".yaml-tmlanguage",
|
||||
".yaml-tmpreferences",
|
||||
".yaml-tmtheme"
|
||||
],
|
||||
"firstLine": "^#cloud-config",
|
||||
"configuration": "./language-configuration.json"
|
||||
|
||||
@@ -31,6 +31,7 @@ for f in *; do
|
||||
rm -rf "$ROOT/lib/bundles/$f/src"
|
||||
rm -rf "$ROOT/lib/bundles/$f/resources"
|
||||
rm -rf "$ROOT/lib/bundles/$f/yarn.lock"
|
||||
rm -rf "$ROOT/lib/bundles/$f/cgmanifest.json"
|
||||
find "$ROOT/lib/bundles/$f/" -name "*.js" -type f -delete
|
||||
find "$ROOT/lib/bundles/$f/" -name "*.ts" -type f -delete
|
||||
find "$ROOT/lib/bundles/$f/" -name "*.png" -type f -delete
|
||||
@@ -40,7 +41,7 @@ cd ../..
|
||||
|
||||
# vim script
|
||||
echo "Adding vim script"
|
||||
git clone git@github.com:AlexPl292/language-viml.git
|
||||
git clone https://github.com/AlexPl292/language-viml
|
||||
cd language-viml
|
||||
|
||||
mkdir -p "$ROOT/lib/bundles/viml"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
source.go;keyword.package.go: [0, 7], {package}
|
||||
source.go: [7, 8], { }
|
||||
source.go;entity.name.package.go: [8, 12], {main}
|
||||
source.go;entity.name.type.package.go: [8, 12], {main}
|
||||
source.go: [12, 13], {
|
||||
}
|
||||
source.go: [13, 14], {
|
||||
@@ -10,8 +10,10 @@ source.go: [17, 18], { }
|
||||
source.go;variable.other.assignment.go: [18, 21], {log}
|
||||
source.go: [21, 22], { }
|
||||
source.go;keyword.operator.address.go: [22, 23], {*}
|
||||
source.go: [23, 30], {zerolog}
|
||||
source.go;entity.name.type.go: [23, 30], {zerolog}
|
||||
source.go;punctuation.other.period.go: [30, 31], {.}
|
||||
source.go: [31, 38], {Logger }
|
||||
source.go: [38, 40], {= }
|
||||
source.go;entity.name.type.go: [31, 37], {Logger}
|
||||
source.go: [37, 38], { }
|
||||
source.go;keyword.operator.assignment.go: [38, 39], {=}
|
||||
source.go: [39, 40], { }
|
||||
source.go;constant.language.go: [40, 43], {nil}
|
||||
Reference in New Issue
Block a user