@codingame/monaco-editor-wrapper 3.2.0 → 3.3.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/dart3.js CHANGED
@@ -90,10 +90,10 @@ var dart = [
90
90
  "description": "Whether to show TODOs in the Problems list.",
91
91
  "scope": 3
92
92
  },
93
- "dart.useLsp": {
93
+ "dart.useLegacyAnalyzerProtocol": {
94
94
  "type": "boolean",
95
- "default": true,
96
- "markdownDescription": "Whether to run the analyzer in [LSP mode](https://microsoft.github.io/language-server-protocol/). Some features are not supported if this setting is disabled and in a future release LSP will be the only supported option.",
95
+ "default": false,
96
+ "markdownDescription": "Whether to use the Dart Analyzer's original protocol instead of LSP. Some features are not supported when using the legacy protocol and support for it will eventually be removed. Please file issues on GitHub in the Dart-Code repo if you find yourself needing to enable this setting.",
97
97
  "scope": 3
98
98
  }
99
99
  }
@@ -187,13 +187,28 @@ var dart = [
187
187
  "markdownDescription": "Whether to show notifications for widget errors that offer Inspect Widget links. This requires that the `#dart.shareDevToolsWithFlutter#` setting is also enabled.",
188
188
  "scope": 3
189
189
  },
190
- "dart.customDevToolsUri": {
191
- "type": [
192
- "null",
193
- "string"
194
- ],
195
- "default": null,
196
- "description": "A custom URI to use for launching DevTools. This setting is intended for use by Dart DevTools developers.",
190
+ "dart.customDevTools": {
191
+ "type": "object",
192
+ "properties": {
193
+ "script": {
194
+ "type": "string",
195
+ "default": "/path/to/devtools/tool/build_e2e.dart",
196
+ "description": "The script or command that runs the DevTools server. This will be supplied to the `dart` executable (for example `dart devtools` or `dart /foo/devtools.dart`)."
197
+ },
198
+ "cwd": {
199
+ "type": "string",
200
+ "default": "/path/to/devtools",
201
+ "description": "The working directory to spawn the command in."
202
+ },
203
+ "env": {
204
+ "type": "object",
205
+ "default": {
206
+ "LOCAL_DART_SDK": "/path/to/dart-sdk"
207
+ },
208
+ "description": "Any environment variables to set when spawning the command."
209
+ }
210
+ },
211
+ "description": "Custom settings for launching DevTools. This setting is intended for use by Dart DevTools developers.",
197
212
  "scope": 6
198
213
  }
199
214
  }
@@ -724,9 +739,18 @@ var dart = [
724
739
  }
725
740
  },
726
741
  "dart.runPubGetOnPubspecChanges": {
727
- "type": "boolean",
728
- "default": true,
729
- "markdownDescription": "Whether to automatically run `pub get` whenever `pubspec.yaml` is saved.",
742
+ "enum": [
743
+ "always",
744
+ "prompt",
745
+ "never"
746
+ ],
747
+ "enumDescriptions": [
748
+ "Always run when pubspec is changed",
749
+ "Prompt to run when pubspec is changed",
750
+ "Never run when pubspec is changed"
751
+ ],
752
+ "default": "always",
753
+ "markdownDescription": "Whether to run `pub get` whenever `pubspec.yaml` is saved.",
730
754
  "scope": 4
731
755
  },
732
756
  "dart.runPubGetOnNestedProjects": {
@@ -1020,12 +1044,6 @@ var dart = [
1020
1044
  "description": "Whether to normalize file casings before sending them to the LSP server. This may fix issues with file_names lints not disappearing after renaming a file if the VS Code API continues to use the original casing.",
1021
1045
  "scope": 3
1022
1046
  },
1023
- "dart.previewBazelWorkspaceCustomScripts": {
1024
- "type": "boolean",
1025
- "default": false,
1026
- "markdownDescription": "EXPERIMENTAL: Whether to look for custom script definitions at `dart/config/ide/flutter.json` in Bazel workspaces. Currently supported for macOS and Linux only.",
1027
- "scope": 3
1028
- },
1029
1047
  "dart.daemonPort": {
1030
1048
  "type": "number",
1031
1049
  "default": false,
@@ -1057,9 +1075,12 @@ var dart = [
1057
1075
  "scope": 3
1058
1076
  },
1059
1077
  "dart.previewSdkDaps": {
1060
- "type": "boolean",
1061
- "default": false,
1062
- "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.",
1078
+ "type": [
1079
+ "null",
1080
+ "boolean"
1081
+ ],
1082
+ "default": null,
1083
+ "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. Setting the value to `true` will opt-in to the new DAPs. Setting to `false` will opt-out. Leaving as `null` will allow the extension to decide when to enable the SDK DAPs as part of a progressive rollout.",
1063
1084
  "scope": 3
1064
1085
  }
1065
1086
  }
@@ -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/e177bd7f9d3402f70d2f1fb42c74057ed1ccf6fa";
6
+ var version = "https://github.com/ionide/ionide-fsgrammar/commit/713cd4a34e7729e444cf85ae287dd94c19e34337";
7
7
  var name = "fsharp";
8
8
  var scopeName = "source.fsharp";
9
9
  var patterns = [
@@ -927,7 +927,7 @@ var repository = {
927
927
  patterns: [
928
928
  {
929
929
  name: "binding.fsharp",
930
- begin: "\\b(let mutable|static let mutable|static let|let inline|let|member val|static member inline|static member|default|member|override|let!)(\\s+rec|mutable)?(\\s+\\[\\<.*\\>\\])?\\s*(private|internal|public)?\\s+(\\[[^-=]*\\]|[_[:alpha:]]([_[:alpha:]0-9\\._]+)*|``[_[:alpha:]]([_[:alpha:]0-9\\._`\\s]+|(?<=,)\\s)*)?",
930
+ begin: "\\b(let mutable|static let mutable|static let|let inline|let|and|member val|static member inline|static member|default|member|override|let!)(\\s+rec|mutable)?(\\s+\\[\\<.*\\>\\])?\\s*(private|internal|public)?\\s+(\\[[^-=]*\\]|[_[:alpha:]]([_[:alpha:]0-9\\._]+)*|``[_[:alpha:]]([_[:alpha:]0-9\\._`\\s]+|(?<=,)\\s)*)?",
931
931
  end: "\\s*(with\\b|=|\\n+=|(?<=\\=))",
932
932
  beginCaptures: {
933
933
  "1": {
@@ -959,7 +959,7 @@ var repository = {
959
959
  },
960
960
  {
961
961
  name: "binding.fsharp",
962
- begin: "\\b(use|use\\!|and|and!)\\s*(\\[[^-=]*\\]|[_[:alpha:]]([_[:alpha:]0-9\\._]+)*|``[_[:alpha:]]([_[:alpha:]0-9\\._`\\s]+|(?<=,)\\s)*)?",
962
+ begin: "\\b(use|use!|and|and!)\\s+(\\[[^-=]*\\]|[_[:alpha:]]([_[:alpha:]0-9\\._]+)*|``[_[:alpha:]]([_[:alpha:]0-9\\._`\\s]+|(?<=,)\\s)*)?",
963
963
  end: "\\s*(=)",
964
964
  beginCaptures: {
965
965
  "1": {
package/dist/index.js CHANGED
@@ -126,6 +126,13 @@ var configurationDefaults = {
126
126
  "[java]": {
127
127
  "editor.suggest.snippetsPreventQuickSuggestions": false
128
128
  },
129
+ "[lua]": {
130
+ "editor.quickSuggestions": {
131
+ comments: "inline",
132
+ other: "on",
133
+ strings: "on"
134
+ }
135
+ },
129
136
  "[cpp]": {
130
137
  "editor.wordBasedSuggestions": false,
131
138
  "editor.suggest.insertMode": "replace",
package/dist/java-java.js CHANGED
@@ -16,7 +16,7 @@ var trycatch = {
16
16
  "try {",
17
17
  "\t$1",
18
18
  "} catch (${2:Exception} ${3:e}) {",
19
- "\t$4//${0:TODO}: handle exception",
19
+ "\t$0// TODO: handle exception",
20
20
  "}"
21
21
  ],
22
22
  description: "try/catch block"
@@ -27,7 +27,7 @@ var tryresources = {
27
27
  "try ($1) {",
28
28
  "\t$2",
29
29
  "} catch (${3:Exception} ${4:e}) {",
30
- "\t$5//${0:TODO}: handle exception",
30
+ "\t$0// TODO: handle exception",
31
31
  "}"
32
32
  ]
33
33
  };
@@ -43,7 +43,8 @@ var private_method = {
43
43
  var newObject = {
44
44
  prefix: "new",
45
45
  body: [
46
- "${0:Object} ${1:foo} = new ${0:Object}();"
46
+ "${1:Object} ${2:foo} = new ${1}($3);",
47
+ "$0"
47
48
  ],
48
49
  description: "Create new Object"
49
50
  };
@@ -53,7 +54,7 @@ var javaJava = {
53
54
  prefix: "ctor",
54
55
  body: [
55
56
  "public ${1:${TM_FILENAME_BASE}}($2) {",
56
- "\t${0:super();}",
57
+ "\t${3:super();}$0",
57
58
  "}"
58
59
  ],
59
60
  description: "Public constructor"
@@ -0,0 +1,73 @@
1
+ var comments = {
2
+ lineComment: "#"
3
+ };
4
+ var brackets = [
5
+ [
6
+ "{",
7
+ "}"
8
+ ],
9
+ [
10
+ "[",
11
+ "]"
12
+ ],
13
+ [
14
+ "(",
15
+ ")"
16
+ ]
17
+ ];
18
+ var autoClosingPairs = [
19
+ [
20
+ "{",
21
+ "}"
22
+ ],
23
+ [
24
+ "[",
25
+ "]"
26
+ ],
27
+ [
28
+ "(",
29
+ ")"
30
+ ],
31
+ [
32
+ "\"",
33
+ "\""
34
+ ],
35
+ [
36
+ "'",
37
+ "'"
38
+ ]
39
+ ];
40
+ var surroundingPairs = [
41
+ [
42
+ "{",
43
+ "}"
44
+ ],
45
+ [
46
+ "[",
47
+ "]"
48
+ ],
49
+ [
50
+ "(",
51
+ ")"
52
+ ],
53
+ [
54
+ "\"",
55
+ "\""
56
+ ],
57
+ [
58
+ "'",
59
+ "'"
60
+ ],
61
+ [
62
+ "<",
63
+ ">"
64
+ ]
65
+ ];
66
+ var javaProperties = {
67
+ comments: comments,
68
+ brackets: brackets,
69
+ autoClosingPairs: autoClosingPairs,
70
+ surroundingPairs: surroundingPairs
71
+ };
72
+
73
+ export { autoClosingPairs, brackets, comments, javaProperties as default, surroundingPairs };
package/dist/java2.js CHANGED
@@ -27,8 +27,8 @@ var java = [
27
27
  "string",
28
28
  "null"
29
29
  ],
30
- "default": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m",
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",
30
+ "default": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:jni+resolve=off",
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 -Xlog:jni+resolve=off` to optimize memory usage with the parallel garbage collector",
32
32
  "scope": 6
33
33
  },
34
34
  "java.errors.incompleteClasspath.severity": {
@@ -82,6 +82,12 @@ var java = [
82
82
  "description": "Enable/disable the Maven importer.",
83
83
  "scope": 3
84
84
  },
85
+ "java.import.maven.offline.enabled": {
86
+ "type": "boolean",
87
+ "default": false,
88
+ "description": "Enable/disable the Maven offline mode.",
89
+ "scope": 3
90
+ },
85
91
  "java.import.gradle.enabled": {
86
92
  "type": "boolean",
87
93
  "default": true,
@@ -110,7 +116,7 @@ var java = [
110
116
  "type": "string",
111
117
  "default": null,
112
118
  "description": "The location to the JVM used to run the Gradle daemon.",
113
- "scope": 2
119
+ "scope": 6
114
120
  },
115
121
  "java.import.gradle.offline.enabled": {
116
122
  "type": "boolean",
@@ -744,6 +750,29 @@ var java = [
744
750
  "default": true,
745
751
  "description": "Whether to load lombok processors from project classpath",
746
752
  "scope": 3
753
+ },
754
+ "java.jdt.ls.protobufSupport.enabled": {
755
+ "type": "boolean",
756
+ "default": true,
757
+ "markdownDescription": "Specify whether to automatically add Protobuf output source directories to the classpath.\n\n**Note:** Only works for Gradle `com.google.protobuf` plugin `0.8.4` or higher.",
758
+ "scope": 3
759
+ },
760
+ "java.jdt.ls.androidSupport.enabled": {
761
+ "type": "string",
762
+ "enum": [
763
+ "auto",
764
+ "on",
765
+ "off"
766
+ ],
767
+ "default": "auto",
768
+ "markdownDescription": "[Experimental] Specify whether to enable Android project importing. When set to `auto`, the Android support will be enabled in Visual Studio Code - Insiders.\n\n**Note:** Only works for Android Gradle Plugin `3.2.0` or higher.",
769
+ "scope": 3
770
+ },
771
+ "java.codeAction.sortMembers.avoidVolatileChanges": {
772
+ "type": "boolean",
773
+ "default": true,
774
+ "description": "Reordering of fields, enum constants, and initializers can result in semantic and runtime changes due to different initialization and persistence order. This setting prevents this from occurring.",
775
+ "scope": 3
747
776
  }
748
777
  }
749
778
  }