@codingame/monaco-editor-wrapper 1.14.5 → 1.14.6

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 (47) hide show
  1. package/dist/JavaScript.tmLanguage.js +64 -10
  2. package/dist/JavaScriptReact.tmLanguage.js +64 -10
  3. package/dist/Scala.tmLanguage.js +8 -4
  4. package/dist/TypeScript.tmLanguage.js +64 -10
  5. package/dist/TypeScriptReact.tmLanguage.js +64 -10
  6. package/dist/angular.js +7 -1
  7. package/dist/c.tmLanguage.js +650 -432
  8. package/dist/cpp.tmLanguage.js +72 -84
  9. package/dist/cpptools.js +81 -5
  10. package/dist/css.tmLanguage.js +5 -5
  11. package/dist/css.worker.js +1 -1
  12. package/dist/dart3.js +40 -21
  13. package/dist/fsharp.tmLanguage.js +2 -2
  14. package/dist/html.worker.js +1 -1
  15. package/dist/index.js +4 -3
  16. package/dist/java.js +1 -1
  17. package/dist/java2.js +35 -11
  18. package/dist/javascript-javascript.code-snippets.js +9 -0
  19. package/dist/javascript.js +1 -1
  20. package/dist/javascriptreact.js +1 -1
  21. package/dist/json.js +1 -3
  22. package/dist/json.worker.js +1 -1
  23. package/dist/jsonc.js +1 -3
  24. package/dist/lua2.js +184 -63
  25. package/dist/main.js +10625 -10607
  26. package/dist/markdown.tmLanguage.js +56 -17
  27. package/dist/objective-c.tmLanguage.js +276 -131
  28. package/dist/omnisharp-csharp.js +11 -11
  29. package/dist/omnisharp.js +24 -49
  30. package/dist/php.tmLanguage.js +280 -128
  31. package/dist/scalameta.js +19 -2
  32. package/dist/scss.js +12 -2
  33. package/dist/solidity2.js +1 -1
  34. package/dist/theme-defaults~dark_vs.js +1 -1
  35. package/dist/theme-defaults~hc_light.js +36 -36
  36. package/dist/ts.worker.js +1 -1
  37. package/dist/typescript-language-features.js +17 -2
  38. package/dist/typescript.js +1 -1
  39. package/dist/typescriptreact.js +1 -1
  40. package/dist/vscode-R-rmarkdown.js +3 -3
  41. package/dist/vscode-R.js +9 -9
  42. package/dist/vscode-python.js +16 -6
  43. package/dist/worker.js +1 -1
  44. package/dist/xml.js +1 -2
  45. package/dist/xsl.js +1 -2
  46. package/package.json +23 -25
  47. package/stats.html +1 -1
package/dist/index.js CHANGED
@@ -33,6 +33,10 @@ var configurationDefaults = {
33
33
  "files.watcherExclude": {
34
34
  "**/.dart_tool": true
35
35
  },
36
+ "explorer.fileNesting.patterns": {
37
+ "pubspec.yaml": "pubspec.lock,pubspec_overrides.yaml,.packages,.flutter-plugins,.flutter-plugins-dependencies,.metadata",
38
+ "*.dart": "${capture}.g.dart"
39
+ },
36
40
  "[scala]": {
37
41
  "editor.suggestSelection": "first",
38
42
  "editor.formatOnPaste": true,
@@ -64,9 +68,6 @@ var configurationDefaults = {
64
68
  "editor.wordBasedSuggestions": false,
65
69
  "editor.suggest.insertMode": "replace",
66
70
  "editor.semanticHighlighting.enabled": true
67
- },
68
- "[Log]": {
69
- "editor.wordWrap": "off"
70
71
  }
71
72
  };
72
73
  var semanticTokenTypes = [
package/dist/java.js CHANGED
@@ -45,7 +45,7 @@ var autoClosingPairs = [
45
45
  "'"
46
46
  ],
47
47
  {
48
- open: "/**",
48
+ open: "/*",
49
49
  close: " */",
50
50
  notIn: [
51
51
  "string"
package/dist/java2.js CHANGED
@@ -9,7 +9,7 @@ var java = [
9
9
  "null"
10
10
  ],
11
11
  "default": null,
12
- "description": "Specifies the folder path to the JDK (11 or more recent) used to launch the Java Language Server.\nOn Windows, backslashes must be escaped, i.e.\n\"java.home\":\"C:\\\\Program Files\\\\Java\\\\jdk11.0_8\"",
12
+ "description": "Specifies the folder path to the JDK (17 or more recent) used to launch the Java Language Server.\nOn Windows, backslashes must be escaped, i.e.\n\"java.home\":\"C:\\\\Program Files\\\\Java\\\\jdk-17.0_3\"",
13
13
  "scope": 6,
14
14
  "deprecationMessage": "This setting is deprecated, please use 'java.jdt.ls.java.home' instead."
15
15
  },
@@ -19,7 +19,7 @@ var java = [
19
19
  "null"
20
20
  ],
21
21
  "default": null,
22
- "description": "Specifies the folder path to the JDK (11 or more recent) used to launch the Java Language Server. This setting will replace the Java extension's embedded JRE to start the Java Language Server. \n\nOn Windows, backslashes must be escaped, i.e.\n\"java.jdt.ls.java.home\":\"C:\\\\Program Files\\\\Java\\\\jdk11.0_8\"",
22
+ "description": "Specifies the folder path to the JDK (17 or more recent) used to launch the Java Language Server. This setting will replace the Java extension's embedded JRE to start the Java Language Server. \n\nOn Windows, backslashes must be escaped, i.e.\n\"java.jdt.ls.java.home\":\"C:\\\\Program Files\\\\Java\\\\jdk-17.0_3\"",
23
23
  "scope": 6
24
24
  },
25
25
  "java.jdt.ls.vmargs": {
@@ -166,6 +166,12 @@ var java = [
166
166
  "description": "Enable/disable the signature help.",
167
167
  "scope": 3
168
168
  },
169
+ "java.signatureHelp.description.enabled": {
170
+ "type": "boolean",
171
+ "default": false,
172
+ "description": "Enable/disable to show the description in signature help.",
173
+ "scope": 3
174
+ },
169
175
  "java.implementationsCodeLens.enabled": {
170
176
  "type": "boolean",
171
177
  "default": false,
@@ -315,12 +321,6 @@ var java = [
315
321
  "description": "Enable/disable code completion support",
316
322
  "scope": 3
317
323
  },
318
- "java.completion.overwrite": {
319
- "type": "boolean",
320
- "default": true,
321
- "description": "When set to true, code completion overwrites the current text. When set to false, code is simply added instead.",
322
- "scope": 3
323
- },
324
324
  "java.completion.guessMethodArguments": {
325
325
  "type": "boolean",
326
326
  "default": false,
@@ -362,8 +362,8 @@ var java = [
362
362
  "default": [
363
363
  "java",
364
364
  "javax",
365
- "com",
366
- "org"
365
+ "org",
366
+ "com"
367
367
  ],
368
368
  "scope": 3
369
369
  },
@@ -712,7 +712,31 @@ var java = [
712
712
  "Enable parameter name hints for literal and non-literal arguments"
713
713
  ],
714
714
  "default": "literals",
715
- "markdownDescription": "Enable/disable inlay hints for parameter names:\n```java\n\nInteger.valueOf(/* s: */ '123', /* radix: */ 10)\n \n```\n",
715
+ "markdownDescription": "Enable/disable inlay hints for parameter names:\n```java\n\nInteger.valueOf(/* s: */ '123', /* radix: */ 10)\n \n```\n `#java.inlayHints.parameterNames.exclusions#` can be used to disable the inlay hints for methods.",
716
+ "scope": 3
717
+ },
718
+ "java.inlayHints.parameterNames.exclusions": {
719
+ "type": "array",
720
+ "items": {
721
+ "type": "string"
722
+ },
723
+ "default": [],
724
+ "markdownDescription": "The patterns for the methods that will be disabled to show the inlay hints. Supported pattern examples:\n - `java.lang.Math.*` - All the methods from java.lang.Math.\n - `*.Arrays.asList` - Methods named as 'asList' in the types named as 'Arrays'.\n - `*.println(*)` - Methods named as 'println'.\n - `(from, to)` - Methods with two parameters named as 'from' and 'to'.\n - `(arg*)` - Methods with one parameter whose name starts with 'arg'.",
725
+ "scope": 3
726
+ },
727
+ "java.project.encoding": {
728
+ "enum": [
729
+ "ignore",
730
+ "warning",
731
+ "setDefault"
732
+ ],
733
+ "enumDescriptions": [
734
+ "Ignore project encoding settings",
735
+ "Show warning if a project has no explicit encoding set",
736
+ "Set the default workspace encoding settings"
737
+ ],
738
+ "default": "ignore",
739
+ "markdownDescription": "Project encoding settings",
716
740
  "scope": 3
717
741
  }
718
742
  }
@@ -190,6 +190,15 @@ var javascriptJavascript_codeSnippets = {
190
190
  "console.error($1);"
191
191
  ],
192
192
  description: "Log error to the console"
193
+ },
194
+ "new Promise": {
195
+ prefix: "newpromise",
196
+ body: [
197
+ "new Promise((resolve, reject) => {",
198
+ "\t$TM_SELECTED_TEXT$0",
199
+ "})"
200
+ ],
201
+ description: "Create a new Promise"
193
202
  }
194
203
  };
195
204
 
@@ -105,7 +105,7 @@ var folding = {
105
105
  }
106
106
  };
107
107
  var wordPattern = {
108
- pattern: "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>/\\?\\s]+)"
108
+ pattern: "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>/\\?\\s]+)"
109
109
  };
110
110
  var indentationRules = {
111
111
  decreaseIndentPattern: {
@@ -105,7 +105,7 @@ var folding = {
105
105
  }
106
106
  };
107
107
  var wordPattern = {
108
- pattern: "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>/\\?\\s]+)"
108
+ pattern: "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>/\\?\\s]+)"
109
109
  };
110
110
  var indentationRules = {
111
111
  decreaseIndentPattern: {
package/dist/json.js CHANGED
@@ -61,7 +61,6 @@ var autoClosingPairs = [
61
61
  ]
62
62
  }
63
63
  ];
64
- var wordPattern = "(\"(?:[^\\\\\\\"]*(?:\\\\.)?)*\"?)|[^\\s{}\\[\\],:]+";
65
64
  var indentationRules = {
66
65
  increaseIndentPattern: "({+(?=([^\"]*\"[^\"]*\")*[^\"}]*$))|(\\[+(?=([^\"]*\"[^\"]*\")*[^\"\\]]*$))",
67
66
  decreaseIndentPattern: "^\\s*[}\\]],?\\s*$"
@@ -70,8 +69,7 @@ var json = {
70
69
  comments: comments,
71
70
  brackets: brackets,
72
71
  autoClosingPairs: autoClosingPairs,
73
- wordPattern: wordPattern,
74
72
  indentationRules: indentationRules
75
73
  };
76
74
 
77
- export { autoClosingPairs, brackets, comments, json as default, indentationRules, wordPattern };
75
+ export { autoClosingPairs, brackets, comments, json as default, indentationRules };