@codingame/monaco-languageclient-wrapper 1.4.2 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/dist/BSV.tmLanguage.js +299 -0
  2. package/dist/COBOL Copybook.js +2017 -0
  3. package/dist/COBOL.js +2017 -0
  4. package/dist/COBOL.tmLanguage.js +149 -0
  5. package/dist/CodinGameMonacoWorkspace.d.ts +13 -0
  6. package/dist/Configuration.d.ts +15 -0
  7. package/dist/Erlang.plist.js +1752 -0
  8. package/dist/JSON.tmLanguage.js +221 -0
  9. package/dist/JSONC.tmLanguage.js +221 -0
  10. package/dist/JavaScript.tmLanguage.js +5894 -0
  11. package/dist/Kotlin.tmLanguage.js +724 -0
  12. package/dist/MagicPython.tmLanguage.js +5340 -0
  13. package/dist/MagicRegExp.tmLanguage.js +505 -0
  14. package/dist/Regular Expressions (JavaScript).tmLanguage.js +166 -0
  15. package/dist/SQL.plist.js +482 -0
  16. package/dist/Scala.tmLanguage.js +1255 -0
  17. package/dist/TypeScript.tmLanguage.js +5641 -0
  18. package/dist/WatchableConsoleWindow.d.ts +22 -0
  19. package/dist/_rollupPluginBabelHelpers.js +54 -0
  20. package/dist/asp-vb-net.tmlanguage.js +247 -0
  21. package/dist/bsv.js +49 -0
  22. package/dist/c.js +18 -0
  23. package/dist/c.tmLanguage.js +3347 -0
  24. package/dist/cabal.tmLanguage.js +66 -0
  25. package/dist/clojure.tmLanguage.js +443 -0
  26. package/dist/codeblock-cabal.js +42 -0
  27. package/dist/codeblock-haskell.js +42 -0
  28. package/dist/codeblock-literate-haskell.js +42 -0
  29. package/dist/codeblock.js +36 -0
  30. package/dist/codeblock2.js +95 -0
  31. package/dist/coffeescript.js +18 -0
  32. package/dist/coffeescript.tmLanguage.js +1324 -0
  33. package/dist/configuration/index.d.ts +5 -0
  34. package/dist/cpp.js +18 -0
  35. package/dist/cpp.tmLanguage.js +19996 -0
  36. package/dist/createLanguageClient.d.ts +3 -3
  37. package/dist/csharp.js +18 -0
  38. package/dist/csharp.tmLanguage.js +4750 -0
  39. package/dist/css.tmLanguage.js +1873 -0
  40. package/dist/css.worker.js +6 -0
  41. package/dist/cssContribution.js +10 -0
  42. package/dist/cuda-cpp.tmLanguage.js +19993 -0
  43. package/dist/d.js +3159 -0
  44. package/dist/dart.js +530 -0
  45. package/dist/diet.js +758 -0
  46. package/dist/diet2.js +92 -0
  47. package/dist/dml.js +169 -0
  48. package/dist/eex.js +55 -0
  49. package/dist/elixir.js +2341 -0
  50. package/dist/elixir2.js +184 -0
  51. package/dist/erlang.js +195 -0
  52. package/dist/expression.js +846 -0
  53. package/dist/extensionConfiguration.d.ts +1 -1
  54. package/dist/extensions/autofold.d.ts +2 -0
  55. package/dist/extensions/cobol.d.ts +2 -0
  56. package/dist/extensions/index.d.ts +2 -0
  57. package/dist/features/cssContribution.d.ts +1 -0
  58. package/dist/features/htmlContribution.d.ts +1 -0
  59. package/dist/features/jsonContribution.d.ts +1 -0
  60. package/dist/features/typescriptContribution.d.ts +1 -0
  61. package/dist/fsharp.js +18 -0
  62. package/dist/fsharp.tmLanguage.js +1811 -0
  63. package/dist/go.tmLanguage.js +1025 -0
  64. package/dist/groovy.js +229 -0
  65. package/dist/groovy.tmLanguage.js +1391 -0
  66. package/dist/haskell.tmLanguage.js +629 -0
  67. package/dist/html (eex).js +31 -0
  68. package/dist/html-derivative.tmLanguage.js +57 -0
  69. package/dist/html.tmLanguage.js +2652 -0
  70. package/dist/html.tmLanguage2.js +97 -0
  71. package/dist/html.worker.js +6 -0
  72. package/dist/htmlContribution.js +10 -0
  73. package/dist/index.d.ts +4 -3
  74. package/dist/inline-styles.js +104 -0
  75. package/dist/inline-template.js +88 -0
  76. package/dist/java.js +18 -0
  77. package/dist/java.tmLanguage.js +1863 -0
  78. package/dist/javascript.js +196 -0
  79. package/dist/javascriptreact.js +196 -0
  80. package/dist/jsdoc.js.injection.tmLanguage.js +32 -0
  81. package/dist/jsdoc.ts.injection.tmLanguage.js +32 -0
  82. package/dist/json.worker.js +6 -0
  83. package/dist/jsonContribution.js +78 -0
  84. package/dist/keybindings/index.d.ts +2 -0
  85. package/dist/keybindings/keybindingHelper.d.ts +2 -0
  86. package/dist/keybindings/vim.d.ts +3 -0
  87. package/dist/kotlin.js +117 -0
  88. package/dist/kotlinscript.js +117 -0
  89. package/dist/languageClient.d.ts +4 -7
  90. package/dist/languageClientOptions.d.ts +9 -0
  91. package/dist/languages/extensions/grammarLoader.d.ts +91037 -0
  92. package/dist/languages/extensions/snippetLoader.d.ts +4578 -0
  93. package/dist/languages/index.d.ts +3 -0
  94. package/dist/languages/monarch/index.d.ts +7 -0
  95. package/dist/languages/monarch/list.d.ts +7 -0
  96. package/dist/languages/monarch/stub-generator.d.ts +2 -0
  97. package/dist/languages/snippets/index.d.ts +1 -0
  98. package/dist/languages/textMate/CGTMGrammarFactory.d.ts +5 -0
  99. package/dist/languages/textMate/TextMateTokensProvider.d.ts +11 -0
  100. package/dist/languages/textMate/index.d.ts +2 -0
  101. package/dist/literateHaskell.tmLanguage.js +70 -0
  102. package/dist/lua.tmLanguage.js +289 -0
  103. package/dist/main.js +619 -761
  104. package/dist/markdown.js +103 -0
  105. package/dist/markdown.tmLanguage.js +2784 -0
  106. package/dist/merlin.js +111 -0
  107. package/dist/monaco.d.ts +8 -0
  108. package/dist/objective-c.tmLanguage.js +3618 -0
  109. package/dist/ocaml-hover-info.js +34 -0
  110. package/dist/ocaml-hover-type.js +24 -0
  111. package/dist/ocaml-markdown-codeblock.js +42 -0
  112. package/dist/ocaml.js +2979 -0
  113. package/dist/ocamlbuild.js +239 -0
  114. package/dist/opam.js +149 -0
  115. package/dist/pascal.js +382 -0
  116. package/dist/pascal.tmLanguage.js +169 -0
  117. package/dist/perl.tmLanguage.js +2986 -0
  118. package/dist/perl6.tmLanguage.js +323 -0
  119. package/dist/pgsql.tmLanguage.js +284 -0
  120. package/dist/php.js +265 -0
  121. package/dist/php.tmLanguage.js +3791 -0
  122. package/dist/platform.tmLanguage.js +1135 -0
  123. package/dist/powershell.js +18 -0
  124. package/dist/powershell.tmLanguage.js +1037 -0
  125. package/dist/r.tmLanguage.js +551 -0
  126. package/dist/reason-hover-info.js +34 -0
  127. package/dist/reason-hover-signature.js +21 -0
  128. package/dist/reason-hover-type.js +21 -0
  129. package/dist/reason-markdown-codeblock.js +42 -0
  130. package/dist/reason.js +100 -0
  131. package/dist/ruby.tmLanguage.js +2784 -0
  132. package/dist/rust.tmLanguage.js +1178 -0
  133. package/dist/sassdoc.tmLanguage.js +362 -0
  134. package/dist/scss.tmLanguage.js +1887 -0
  135. package/dist/sdc.tmLanguage.js +712 -0
  136. package/dist/sdl.js +162 -0
  137. package/dist/services/EditorModelResolverService.d.ts +8 -0
  138. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +7 -0
  139. package/dist/shell-unix-bash.tmLanguage.js +1291 -0
  140. package/dist/sql.js +21 -0
  141. package/dist/staticOptions.d.ts +4 -8
  142. package/dist/stub-generator.js +15 -0
  143. package/dist/swift.js +183 -0
  144. package/dist/swift.tmLanguage.js +3288 -0
  145. package/dist/systemverilog.js +208 -0
  146. package/dist/systemverilog.tmLanguage.js +1067 -0
  147. package/dist/tcl.js +151 -0
  148. package/dist/tcl.tmlanguage.yaml.js +5484 -0
  149. package/dist/template.js +207 -0
  150. package/dist/theme/index.d.ts +3 -0
  151. package/dist/theme/registry.d.ts +4 -0
  152. package/dist/theme/semanticHighlight.d.ts +1 -0
  153. package/dist/theme/tools.d.ts +13 -0
  154. package/dist/tools.d.ts +3 -0
  155. package/dist/ts.worker.js +6 -0
  156. package/dist/typescript.js +312 -0
  157. package/dist/typescriptContribution.js +36 -0
  158. package/dist/typescriptreact.js +312 -0
  159. package/dist/ucf.tmLanguage.js +36 -0
  160. package/dist/vb.js +88 -0
  161. package/dist/verilog.js +432 -0
  162. package/dist/verilog.tmLanguage.js +321 -0
  163. package/dist/worker.d.ts +6 -0
  164. package/dist/worker.js +54 -0
  165. package/dist/xml.tmLanguage.js +395 -0
  166. package/dist/xsl.tmLanguage.js +102 -0
  167. package/dist/yaml.tmLanguage.js +629 -0
  168. package/package.json +17 -14
  169. package/stats.html +1 -1
  170. package/dist/monaco-languageclient-wrapper.d.ts +0 -1478
  171. package/dist/tsdoc-metadata.json +0 -11
@@ -0,0 +1,207 @@
1
+ var scopeName = "template.ng";
2
+ var injectionSelector = "L:text.html -comment";
3
+ var patterns = [
4
+ {
5
+ include: "#interpolation"
6
+ },
7
+ {
8
+ include: "#propertyBinding"
9
+ },
10
+ {
11
+ include: "#eventBinding"
12
+ },
13
+ {
14
+ include: "#twoWayBinding"
15
+ },
16
+ {
17
+ include: "#templateBinding"
18
+ }
19
+ ];
20
+ var repository = {
21
+ interpolation: {
22
+ begin: "{{",
23
+ beginCaptures: {
24
+ "0": {
25
+ name: "punctuation.definition.block.ts"
26
+ }
27
+ },
28
+ end: "}}",
29
+ endCaptures: {
30
+ "0": {
31
+ name: "punctuation.definition.block.ts"
32
+ }
33
+ },
34
+ contentName: "expression.ng",
35
+ patterns: [
36
+ {
37
+ include: "expression.ng"
38
+ }
39
+ ]
40
+ },
41
+ propertyBinding: {
42
+ begin: "(\\[\\s*@?[-_a-zA-Z0-9.$]*\\s*])(=)([\"'])",
43
+ beginCaptures: {
44
+ "1": {
45
+ name: "entity.other.attribute-name.html entity.other.ng-binding-name.property.html",
46
+ patterns: [
47
+ {
48
+ include: "#bindingKey"
49
+ }
50
+ ]
51
+ },
52
+ "2": {
53
+ name: "punctuation.separator.key-value.html"
54
+ },
55
+ "3": {
56
+ name: "string.quoted.html punctuation.definition.string.begin.html"
57
+ }
58
+ },
59
+ end: "\\3",
60
+ endCaptures: {
61
+ "0": {
62
+ name: "string.quoted.html punctuation.definition.string.end.html"
63
+ }
64
+ },
65
+ name: "meta.ng-binding.property.html",
66
+ contentName: "expression.ng",
67
+ patterns: [
68
+ {
69
+ include: "expression.ng"
70
+ }
71
+ ]
72
+ },
73
+ eventBinding: {
74
+ begin: "(\\(\\s*@?[-_a-zA-Z0-9.$]*\\s*\\))(=)([\"'])",
75
+ beginCaptures: {
76
+ "1": {
77
+ name: "entity.other.attribute-name.html entity.other.ng-binding-name.event.html",
78
+ patterns: [
79
+ {
80
+ include: "#bindingKey"
81
+ }
82
+ ]
83
+ },
84
+ "2": {
85
+ name: "punctuation.separator.key-value.html"
86
+ },
87
+ "3": {
88
+ name: "string.quoted.html punctuation.definition.string.begin.html"
89
+ }
90
+ },
91
+ end: "\\3",
92
+ endCaptures: {
93
+ "0": {
94
+ name: "string.quoted.html punctuation.definition.string.end.html"
95
+ }
96
+ },
97
+ name: "meta.ng-binding.event.html",
98
+ contentName: "expression.ng",
99
+ patterns: [
100
+ {
101
+ include: "expression.ng"
102
+ }
103
+ ]
104
+ },
105
+ twoWayBinding: {
106
+ begin: "(\\[\\s*\\(\\s*@?[-_a-zA-Z0-9.$]*\\s*\\)\\s*\\])(=)([\"'])",
107
+ beginCaptures: {
108
+ "1": {
109
+ name: "entity.other.attribute-name.html entity.other.ng-binding-name.two-way.html",
110
+ patterns: [
111
+ {
112
+ include: "#bindingKey"
113
+ }
114
+ ]
115
+ },
116
+ "2": {
117
+ name: "punctuation.separator.key-value.html"
118
+ },
119
+ "3": {
120
+ name: "string.quoted.html punctuation.definition.string.begin.html"
121
+ }
122
+ },
123
+ end: "\\3",
124
+ endCaptures: {
125
+ "0": {
126
+ name: "string.quoted.html punctuation.definition.string.end.html"
127
+ }
128
+ },
129
+ name: "meta.ng-binding.two-way.html",
130
+ contentName: "expression.ng",
131
+ patterns: [
132
+ {
133
+ include: "expression.ng"
134
+ }
135
+ ]
136
+ },
137
+ templateBinding: {
138
+ begin: "(\\*[-_a-zA-Z0-9.$]*)(=)([\"'])",
139
+ beginCaptures: {
140
+ "1": {
141
+ name: "entity.other.attribute-name.html entity.other.ng-binding-name.template.html",
142
+ patterns: [
143
+ {
144
+ include: "#bindingKey"
145
+ }
146
+ ]
147
+ },
148
+ "2": {
149
+ name: "punctuation.separator.key-value.html"
150
+ },
151
+ "3": {
152
+ name: "string.quoted.html punctuation.definition.string.begin.html"
153
+ }
154
+ },
155
+ end: "\\3",
156
+ endCaptures: {
157
+ "0": {
158
+ name: "string.quoted.html punctuation.definition.string.end.html"
159
+ }
160
+ },
161
+ name: "meta.ng-binding.template.html",
162
+ contentName: "expression.ng",
163
+ patterns: [
164
+ {
165
+ include: "expression.ng"
166
+ }
167
+ ]
168
+ },
169
+ bindingKey: {
170
+ patterns: [
171
+ {
172
+ match: "([\\[\\(]{1,2}|\\*)(?:\\s*)(@?[-_a-zA-Z0-9.$]*)(?:\\s*)([\\]\\)]{1,2})?",
173
+ captures: {
174
+ "1": {
175
+ name: "punctuation.definition.ng-binding-name.begin.html"
176
+ },
177
+ "2": {
178
+ name: "entity.other.ng-binding-name.$2.html",
179
+ patterns: [
180
+ {
181
+ match: "\\.",
182
+ name: "punctuation.accessor.html"
183
+ }
184
+ ]
185
+ },
186
+ "3": {
187
+ name: "punctuation.definition.ng-binding-name.end.html"
188
+ }
189
+ }
190
+ }
191
+ ]
192
+ }
193
+ };
194
+ var information_for_contributors = [
195
+ "This file has been converted from https://github.com/angular/vscode-ng-language-service/blob/master/",
196
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
197
+ "Once accepted there, we are happy to receive an update request."
198
+ ];
199
+ var template = {
200
+ scopeName: scopeName,
201
+ injectionSelector: injectionSelector,
202
+ patterns: patterns,
203
+ repository: repository,
204
+ information_for_contributors: information_for_contributors
205
+ };
206
+
207
+ export { template as default, information_for_contributors, injectionSelector, patterns, repository, scopeName };
@@ -0,0 +1,3 @@
1
+ import { addVSCodeTheme } from './registry';
2
+ import './semanticHighlight';
3
+ export { addVSCodeTheme };
@@ -0,0 +1,4 @@
1
+ import * as monaco from 'monaco-editor';
2
+ import { IVSCodeTheme } from './tools';
3
+ export declare function addVSCodeTheme(name: string, vscodeTheme: IVSCodeTheme): Promise<void>;
4
+ export declare function getThemeData(themeName: string): monaco.extra.ColorThemeData | null;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,13 @@
1
+ import * as monaco from 'monaco-editor';
2
+ export interface IVSCodeTheme {
3
+ '$schema': 'vscode://schemas/color-theme';
4
+ type: monaco.editor.ColorScheme;
5
+ colors: {
6
+ [name: string]: string;
7
+ };
8
+ tokenColors: monaco.extra.ITextMateThemingRule[];
9
+ semanticTokenColors: Record<string, monaco.extra.ITokenColorizationSetting>;
10
+ }
11
+ declare function convertTheme(theme: IVSCodeTheme): monaco.editor.IStandaloneThemeData;
12
+ declare function fixVSCodeThemeColors(vscodeTheme: IVSCodeTheme): IVSCodeTheme;
13
+ export { fixVSCodeThemeColors, convertTheme };
@@ -0,0 +1,3 @@
1
+ import * as monaco from 'monaco-editor';
2
+ export declare function lockCodeWithoutDecoration(editor: monaco.editor.IStandaloneCodeEditor, decorations: string[], allowChangeFromSources: string[], errorMessage?: string): () => void;
3
+ export declare function hideCodeWithoutDecoration(editor: monaco.editor.IStandaloneCodeEditor, decorations: string[]): () => void;