@codingame/monaco-editor-wrapper 1.10.3 → 1.12.0

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.
package/dist/cpptools.js CHANGED
@@ -2316,7 +2316,7 @@ var cpptools = [
2316
2316
  "tags": [
2317
2317
  "experimental"
2318
2318
  ],
2319
- "description": "Show the Run and Debug play button in the editor title bar for C++ files",
2319
+ "description": "Show the Run and Debug play button in the editor title bar for C++ files.",
2320
2320
  "scope": 1
2321
2321
  }
2322
2322
  }
package/dist/dart3.js CHANGED
@@ -1,6 +1,7 @@
1
1
  var dart = [
2
2
  {
3
3
  "title": "Analyzer",
4
+ "order": 1,
4
5
  "properties": {
5
6
  "dart.additionalAnalyzerFileExtensions": {
6
7
  "type": "array",
@@ -99,6 +100,7 @@ var dart = [
99
100
  },
100
101
  {
101
102
  "title": "DevTools",
103
+ "order": 1,
102
104
  "properties": {
103
105
  "dart.updateDevTools": {
104
106
  "type": "boolean",
@@ -180,6 +182,7 @@ var dart = [
180
182
  },
181
183
  {
182
184
  "title": "Editor",
185
+ "order": 1,
183
186
  "properties": {
184
187
  "dart.analysisServerFolding": {
185
188
  "type": "boolean",
@@ -321,6 +324,7 @@ var dart = [
321
324
  },
322
325
  {
323
326
  "title": "Flutter",
327
+ "order": 1,
324
328
  "properties": {
325
329
  "dart.flutterAdbConnectOnChromeOs": {
326
330
  "type": "boolean",
@@ -504,12 +508,6 @@ var dart = [
504
508
  "markdownDescription": "When to show the Flutter headless web-server device. This requires using the Dart Debug extension for Chrome and is usually only used for remote environments where Chrome is not available such as browser/cloud-based IDEs (requires restart).",
505
509
  "scope": 3
506
510
  },
507
- "dart.flutterStructuredErrors": {
508
- "type": "boolean",
509
- "default": true,
510
- "markdownDescription": "Whether to use Flutter's [structured error support](https://medium.com/flutter/improving-flutters-error-messages-e098513cecf9) for improved error display.",
511
- "scope": 4
512
- },
513
511
  "dart.flutterTestAdditionalArgs": {
514
512
  "type": "array",
515
513
  "default": [],
@@ -544,6 +542,7 @@ var dart = [
544
542
  },
545
543
  {
546
544
  "title": "Logging",
545
+ "order": 1,
547
546
  "properties": {
548
547
  "dart.analyzerInstrumentationLogFile": {
549
548
  "type": [
@@ -654,6 +653,7 @@ var dart = [
654
653
  },
655
654
  {
656
655
  "title": "Pub",
656
+ "order": 1,
657
657
  "properties": {
658
658
  "dart.promptToGetPackages": {
659
659
  "type": "boolean",
@@ -680,6 +680,7 @@ var dart = [
680
680
  },
681
681
  {
682
682
  "title": "Run and Debug",
683
+ "order": 1,
683
684
  "properties": {
684
685
  "dart.buildRunnerAdditionalArgs": {
685
686
  "type": "array",
@@ -779,7 +780,7 @@ var dart = [
779
780
  "Suppress test timeouts both when Running and Debugging"
780
781
  ],
781
782
  "default": "never",
782
- "markdownDescription": "Whether to suppress test timeouts when running/debugging tests. This currently works by increasing the default timeout to 1d but will not affect tests that have explicit (non-factor) timeouts set with @timeout.",
783
+ "markdownDescription": "Whether to suppress test timeouts when running/debugging tests. To work properly this requires package:test version 1.20.1 or newer. For older versions, the default timeout will be increased to 1d but this will not affect tests that have explicit (non-factor) timeouts set with @timeout.",
783
784
  "scope": 4
784
785
  },
785
786
  "dart.cliAdditionalArgs": {
@@ -813,6 +814,7 @@ var dart = [
813
814
  },
814
815
  {
815
816
  "title": "SDK",
817
+ "order": 1,
816
818
  "properties": {
817
819
  "dart.checkForSdkUpdates": {
818
820
  "type": "boolean",
@@ -866,6 +868,7 @@ var dart = [
866
868
  },
867
869
  {
868
870
  "title": "Testing",
871
+ "order": 1,
869
872
  "properties": {
870
873
  "dart.allowTestsOutsideTestFolder": {
871
874
  "type": "boolean",
@@ -897,12 +900,12 @@ var dart = [
897
900
  },
898
901
  {
899
902
  "title": "Other",
900
- "order": 9,
903
+ "order": 2,
901
904
  "properties": {
902
- "dart.allowAnalytics": {
903
- "type": "boolean",
904
- "default": true,
905
- "description": "Whether to send analytics such as startup timings, frequency of use of features and analysis server crashes.",
905
+ "dart.projectSearchDepth": {
906
+ "type": "number",
907
+ "default": 3,
908
+ "description": "How many levels (including the workspace roots) down the workspace to search for Dart/Flutter projects. Increasing this number may help detect Flutter projects that are deeply nested in your workspace but slow down all operations that search for projects, including extension activation.",
906
909
  "scope": 3
907
910
  },
908
911
  "dart.env": {
@@ -915,12 +918,12 @@ var dart = [
915
918
  },
916
919
  {
917
920
  "title": "Experimental",
918
- "order": 10,
921
+ "order": 3,
919
922
  "properties": {
920
923
  "dart.enableServerSnippets": {
921
924
  "type": "boolean",
922
925
  "default": false,
923
- "markdownDescription": "This setting is currently unused and should be left set to 'false'. It will be updated and enabled by default in the future.",
926
+ "markdownDescription": "Whether to enable using code snippets from the Dart Analysis Server and disable the snippets included in the extension. If the version of the Dart/Flutter SDK you're using does not support server snippets, this will result in no snippets being available.",
924
927
  "scope": 3
925
928
  },
926
929
  "dart.normalizeFileCasing": {
@@ -958,6 +961,12 @@ var dart = [
958
961
  "default": false,
959
962
  "markdownDescription": "Whether to perform hot reload on save based on a filesystem watcher for Dart files rather than using VS Code's `onDidSave` event. This allows reloads to trigger when external tools modify Dart source files.",
960
963
  "scope": 3
964
+ },
965
+ "dart.previewSdkDaps": {
966
+ "type": "boolean",
967
+ "default": false,
968
+ "markdownDescription": "PREVIEW: Whether to use the new debug adapters shipped in the Dart and Flutter SDKs. This setting will only apply if your SDK is new enough to include an appropriate version of the DAP server.",
969
+ "scope": 3
961
970
  }
962
971
  }
963
972
  }
@@ -67,7 +67,10 @@ const loader = {
67
67
  '../vscode-groovy.js').then(module => module)).default,
68
68
  'solargraph': async () => (await import(
69
69
  /* webpackChunkName: "configuration-registration-solargraph" */
70
- '../solargraph.js').then(module => module)).default
70
+ '../solargraph.js').then(module => module)).default,
71
+ 'solidity': async () => (await import(
72
+ /* webpackChunkName: "configuration-registration-solidity" */
73
+ '../solidity3.js').then(module => module)).default
71
74
  };
72
75
 
73
76
  const configurationRegistry = monaco.extra.Registry.as(monaco.extra.ConfigurationExtensions.Configuration);
@@ -88,12 +88,13 @@ function autoCloseHtmlTags(editor) {
88
88
  }
89
89
 
90
90
  const newRange = new monaco.Range(range.endLineNumber, range.endColumn + rangeLength + 1, range.endLineNumber, range.endColumn + rangeLength + enclosingTag.length + 1);
91
+ const selections = editor.getSelections();
91
92
  const rest = model.getValueInRange(newRange);
92
- model.applyEdits([{
93
+ editor.executeEdits('autoclosing', [{
93
94
  range: newRange,
94
95
  text: "</".concat(enclosingTag, ">").concat(rest),
95
96
  forceMoveMarkers: true
96
- }]);
97
+ }], selections !== null && selections !== void 0 ? selections : undefined);
97
98
  }
98
99
  }, 100);
99
100
  }));
@@ -3,7 +3,7 @@ var information_for_contributors = [
3
3
  "If you want to provide a fix or improvement, please create a pull request against the original repository.",
4
4
  "Once accepted there, we are happy to receive an update request."
5
5
  ];
6
- var version = "https://github.com/ionide/ionide-fsgrammar/commit/3311701c243d6ed5b080a2ee16ada51540a08c50";
6
+ var version = "https://github.com/ionide/ionide-fsgrammar/commit/c6e04755d4d686653f2552183d9f102de489a0a5";
7
7
  var name = "fsharp";
8
8
  var scopeName = "source.fsharp";
9
9
  var patterns = [
@@ -536,7 +536,7 @@ var repository = {
536
536
  {
537
537
  name: "comment.block.markdown.fsharp",
538
538
  begin: "^\\s*(\\(\\*\\*(?!\\)))((?!\\*\\)).)*$",
539
- "while": "^(?!\\s*(\\*)+\\)$)",
539
+ "while": "^(?!\\s*(\\*)+\\)\\s*$)",
540
540
  beginCaptures: {
541
541
  "1": {
542
542
  name: "comment.block.fsharp"
package/dist/index.js CHANGED
@@ -534,6 +534,9 @@ var semanticTokenScopes = [
534
534
  "keyword.declaration": [
535
535
  "keyword.local.lua"
536
536
  ],
537
+ "keyword.documentation": [
538
+ "storage.type.annotation.lua"
539
+ ],
537
540
  "keyword.readonly": [
538
541
  "constant.language.lua"
539
542
  ],
package/dist/java2.js CHANGED
@@ -29,7 +29,7 @@ var java = [
29
29
  ],
30
30
  "default": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m",
31
31
  "description": "Specifies extra VM arguments used to launch the Java Language Server. Eg. use `-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m ` to optimize memory usage with the parallel garbage collector",
32
- "scope": 3
32
+ "scope": 6
33
33
  },
34
34
  "java.errors.incompleteClasspath.severity": {
35
35
  "type": [
@@ -562,7 +562,7 @@ var java = [
562
562
  "additionalProperties": false
563
563
  },
564
564
  "default": [],
565
- "scope": 2
565
+ "scope": 6
566
566
  },
567
567
  "java.server.launchMode": {
568
568
  "type": "string",
package/dist/jsx-tags.js CHANGED
@@ -129,7 +129,7 @@ var onEnterRules = [
129
129
  pattern: "^>$"
130
130
  },
131
131
  afterText: {
132
- pattern: "/^<\\/([_:\\w][_:\\w-.\\d]*)\\s*>$",
132
+ pattern: "^<\\/([_:\\w][_:\\w-.\\d]*)\\s*>$",
133
133
  flags: "i"
134
134
  },
135
135
  action: {
@@ -1,3 +1,9 @@
1
+ var information_for_contributors = [
2
+ "This file has been converted from https://github.com/microsoft/vscode/blob/master/extensions/lua/",
3
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
4
+ "Once accepted there, we are happy to receive an update request."
5
+ ];
6
+ var version = "https://github.com/sumneko/lua.tmbundle/commit/43da68bb99b948782e57985f633fa0c395190674";
1
7
  var name = "Lua";
2
8
  var scopeName = "source.lua";
3
9
  var patterns = [
@@ -163,10 +169,6 @@ var patterns = [
163
169
  match: "(?<![^.]\\.|:)\\b(async)\\b(?!\\s*=(?!=))",
164
170
  name: "entity.name.tag.lua"
165
171
  },
166
- {
167
- match: "(?<![^.]\\.|:)\\b(unknown|any|boolean|number|integer|thread|table|string|userdata|lightuserdata|function|method)\\b(?!\\s*=(?!=))",
168
- name: "support.type.lua"
169
- },
170
172
  {
171
173
  match: "(?<![^.]\\.|:)\\b(coroutine\\.(create|isyieldable|close|resume|running|status|wrap|yield)|string\\.(byte|char|dump|find|format|gmatch|gsub|len|lower|match|pack|packsize|rep|reverse|sub|unpack|upper)|table\\.(concat|insert|maxn|move|pack|remove|sort|unpack)|math\\.(abs|acos|asin|atan2?|ceil|cosh?|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pow|rad|random|randomseed|sinh?|sqrt|tanh?|tointeger|type)|io\\.(close|flush|input|lines|open|output|popen|read|tmpfile|type|write)|os\\.(clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\\.(loadlib|seeall|searchpath)|debug\\.(debug|[gs]etfenv|[gs]ethook|getinfo|[gs]etlocal|[gs]etmetatable|getregistry|[gs]etupvalue|[gs]etuservalue|set[Cc]stacklimit|traceback|upvalueid|upvaluejoin)|bit32\\.(arshift|band|bnot|bor|btest|bxor|extract|replace|lrotate|lshift|rrotate|rshift)|utf8\\.(char|codes|codepoint|len|offset))\\b(?!\\s*=(?!=))",
172
174
  name: "support.function.library.lua"
@@ -177,11 +179,15 @@ var patterns = [
177
179
  },
178
180
  {
179
181
  match: "\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b(?=\\s*(?:[({\"']|\\[\\[))",
180
- name: "entity.name.function.lua"
182
+ name: "support.function.any-method.lua"
181
183
  },
182
184
  {
183
185
  match: "\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b(?=\\s*\\??:)",
184
- name: "support.type.property-name.lua"
186
+ name: "entity.name.class.lua"
187
+ },
188
+ {
189
+ match: "(?<=[^.]\\.|:)\\b([a-zA-Z_][a-zA-Z0-9_]*)",
190
+ name: "entity.other.attribute.lua"
185
191
  },
186
192
  {
187
193
  match: "\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b",
@@ -791,17 +797,13 @@ var repository = {
791
797
  ]
792
798
  }
793
799
  };
794
- var information_for_contributors = [
795
- "This file has been converted from https://github.com/sumneko/vscode-lua/blob/master/",
796
- "If you want to provide a fix or improvement, please create a pull request against the original repository.",
797
- "Once accepted there, we are happy to receive an update request."
798
- ];
799
800
  var lua_tmLanguage = {
801
+ information_for_contributors: information_for_contributors,
802
+ version: version,
800
803
  name: name,
801
804
  scopeName: scopeName,
802
805
  patterns: patterns,
803
- repository: repository,
804
- information_for_contributors: information_for_contributors
806
+ repository: repository
805
807
  };
806
808
 
807
- export { lua_tmLanguage as default, information_for_contributors, name, patterns, repository, scopeName };
809
+ export { lua_tmLanguage as default, information_for_contributors, name, patterns, repository, scopeName, version };
package/dist/lua2.js CHANGED
@@ -992,7 +992,7 @@ var lua = [
992
992
  "type": "string"
993
993
  },
994
994
  "unknown-diag-code": {
995
- "default": "Waiting",
995
+ "default": "Warning",
996
996
  "description": "%config.diagnostics.unknown-diag-code%",
997
997
  "enum": [
998
998
  "Error",