@codingame/monaco-editor-wrapper 2.2.0 → 2.2.3
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/Scala.tmLanguage.js +32 -0
- package/dist/_monaco-editor_commonjs-external.js +6 -0
- package/dist/configuration/files.d.ts +6 -0
- package/dist/configuration/index.d.ts +1 -0
- package/dist/cpptools.js +2 -1
- package/dist/dart3.js +48 -15
- package/dist/features/extensionConfigurations.d.ts +0 -6
- package/dist/features/extensionConfigurations.js +1 -62
- package/dist/features/htmlContribution.js +2 -1
- package/dist/index.js +4921 -1242
- package/dist/index2.js +1325 -0
- package/dist/index3.js +2208 -0
- package/dist/lua2.js +180 -84
- package/dist/main.js +10 -16739
- package/dist/omnisharp.js +1 -1
- package/dist/svlangserver.js +1 -1
- package/dist/vim.js +9674 -0
- package/dist/vscode-python.js +16 -0
- package/package.json +1 -1
- package/stats.html +1 -1
package/dist/Scala.tmLanguage.js
CHANGED
|
@@ -200,6 +200,9 @@ var repository = {
|
|
|
200
200
|
},
|
|
201
201
|
code: {
|
|
202
202
|
patterns: [
|
|
203
|
+
{
|
|
204
|
+
include: "#using-directive"
|
|
205
|
+
},
|
|
203
206
|
{
|
|
204
207
|
include: "#script-header"
|
|
205
208
|
},
|
|
@@ -943,6 +946,35 @@ var repository = {
|
|
|
943
946
|
comment: "For themes: Matching view bounds",
|
|
944
947
|
name: "meta.bounds.scala"
|
|
945
948
|
},
|
|
949
|
+
"using-directive": {
|
|
950
|
+
end: "\\n",
|
|
951
|
+
begin: "^\\s*(//>)\\s*(using)[^\\S\\n]+",
|
|
952
|
+
beginCaptures: {
|
|
953
|
+
"1": {
|
|
954
|
+
name: "punctuation.definition.comment.scala"
|
|
955
|
+
},
|
|
956
|
+
"2": {
|
|
957
|
+
name: "keyword.other.import.scala"
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
patterns: [
|
|
961
|
+
{
|
|
962
|
+
match: "[A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)",
|
|
963
|
+
name: "entity.name.import.scala"
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
match: "\\.",
|
|
967
|
+
name: "punctuation.definition.import"
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
include: "#strings"
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
include: "#constants"
|
|
974
|
+
}
|
|
975
|
+
],
|
|
976
|
+
name: "comment.line.shebang.scala"
|
|
977
|
+
},
|
|
946
978
|
comments: {
|
|
947
979
|
patterns: [
|
|
948
980
|
{
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* comes from https://github.com/microsoft/vscode/blob/16d0a319b28caa4b6cf4e6801fd508282b7533e0/src/vs/workbench/contrib/files/browser/files.contribution.ts#L132
|
|
3
|
+
* files.exclude and files.associations are required by the Lua language server
|
|
4
|
+
*/
|
|
5
|
+
export declare const FILES_EXCLUDE_CONFIG = "files.exclude";
|
|
6
|
+
export declare const FILES_ASSOCIATIONS_CONFIG = "files.associations";
|
|
@@ -2,6 +2,7 @@ import * as monaco from 'monaco-editor';
|
|
|
2
2
|
import { IConfigurationChangeEvent } from 'vscode/services';
|
|
3
3
|
import * as vscode from 'vscode';
|
|
4
4
|
import { updateUserConfiguration } from 'vscode/service-override/configuration';
|
|
5
|
+
import './files';
|
|
5
6
|
export declare function onConfigurationChanged(listener: (e: IConfigurationChangeEvent) => void): vscode.Disposable;
|
|
6
7
|
export declare function getConfiguration<C = Partial<monaco.editor.IEditorOptions>>(language?: string, section?: string): C | undefined;
|
|
7
8
|
export { updateUserConfiguration };
|
package/dist/cpptools.js
CHANGED
|
@@ -2409,7 +2409,8 @@ var cpptools = [
|
|
|
2409
2409
|
"type": "object",
|
|
2410
2410
|
"markdownDescription": "Configure glob patterns for excluding folders (and files if `#C_Cpp.exclusionPolicy#` is changed). These are specific to the C/C++ extension and are in addition to `#files.exclude#`, but unlike `#files.exclude#` they also apply to paths outside the current workspace folder and are not removed from the Explorer view. Read more about glob patterns [here](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).",
|
|
2411
2411
|
"default": {
|
|
2412
|
-
"**/.vscode": true
|
|
2412
|
+
"**/.vscode": true,
|
|
2413
|
+
"**/.vs": true
|
|
2413
2414
|
},
|
|
2414
2415
|
"additionalProperties": {
|
|
2415
2416
|
"anyOf": [
|
package/dist/dart3.js
CHANGED
|
@@ -30,7 +30,7 @@ var dart = [
|
|
|
30
30
|
"dart.analyzerAdditionalArgs": {
|
|
31
31
|
"type": "array",
|
|
32
32
|
"default": [],
|
|
33
|
-
"description": "Additional arguments to pass to the Dart
|
|
33
|
+
"description": "Additional arguments to pass to the Dart Analysis Server.",
|
|
34
34
|
"scope": 3,
|
|
35
35
|
"items": {
|
|
36
36
|
"type": "string"
|
|
@@ -51,7 +51,7 @@ var dart = [
|
|
|
51
51
|
"string"
|
|
52
52
|
],
|
|
53
53
|
"default": null,
|
|
54
|
-
"description": "The path to a custom Dart
|
|
54
|
+
"description": "The path to a custom Dart Analysis Server. This setting is intended for use by Dart Analysis Server developers.",
|
|
55
55
|
"scope": 6
|
|
56
56
|
},
|
|
57
57
|
"dart.analyzerSshHost": {
|
|
@@ -60,7 +60,7 @@ var dart = [
|
|
|
60
60
|
"string"
|
|
61
61
|
],
|
|
62
62
|
"default": null,
|
|
63
|
-
"description": "An SSH host to run the
|
|
63
|
+
"description": "An SSH host to run the Analysis Server.\nThis can be useful when modifying code on a remote machine using SSHFS.",
|
|
64
64
|
"scope": 3
|
|
65
65
|
},
|
|
66
66
|
"dart.analyzerVmServicePort": {
|
|
@@ -69,13 +69,13 @@ var dart = [
|
|
|
69
69
|
"number"
|
|
70
70
|
],
|
|
71
71
|
"default": null,
|
|
72
|
-
"description": "The port number to be used for the Dart
|
|
72
|
+
"description": "The port number to be used for the Dart Analysis Server VM service. This setting is intended for use by Dart Analysis Server developers.",
|
|
73
73
|
"scope": 3
|
|
74
74
|
},
|
|
75
75
|
"dart.notifyAnalyzerErrors": {
|
|
76
76
|
"type": "boolean",
|
|
77
77
|
"default": true,
|
|
78
|
-
"description": "Whether to show a notification the first few times an
|
|
78
|
+
"description": "Whether to show a notification the first few times an Analysis Server exception occurs.",
|
|
79
79
|
"scope": 3
|
|
80
80
|
},
|
|
81
81
|
"dart.onlyAnalyzeProjectsWithOpenFiles": {
|
|
@@ -186,6 +186,15 @@ var dart = [
|
|
|
186
186
|
"default": true,
|
|
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
|
+
},
|
|
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.",
|
|
197
|
+
"scope": 6
|
|
189
198
|
}
|
|
190
199
|
}
|
|
191
200
|
},
|
|
@@ -196,7 +205,7 @@ var dart = [
|
|
|
196
205
|
"dart.analysisServerFolding": {
|
|
197
206
|
"type": "boolean",
|
|
198
207
|
"default": true,
|
|
199
|
-
"description": "Whether to use folding data from the Dart
|
|
208
|
+
"description": "Whether to use folding data from the Dart Analysis Server instead of the built-in VS Code indent-based folding.",
|
|
200
209
|
"scope": 3
|
|
201
210
|
},
|
|
202
211
|
"dart.autoImportCompletions": {
|
|
@@ -588,7 +597,7 @@ var dart = [
|
|
|
588
597
|
"string"
|
|
589
598
|
],
|
|
590
599
|
"default": null,
|
|
591
|
-
"description": "The path to a log file for very detailed logging in the Dart
|
|
600
|
+
"description": "The path to a log file for very detailed logging in the Dart Analysis Server that may be useful when trying to diagnose Analysis Server issues.",
|
|
592
601
|
"scope": 6
|
|
593
602
|
},
|
|
594
603
|
"dart.analyzerLogFile": {
|
|
@@ -597,7 +606,7 @@ var dart = [
|
|
|
597
606
|
"string"
|
|
598
607
|
],
|
|
599
608
|
"default": null,
|
|
600
|
-
"description": "The path to a log file for communication between Dart Code and the
|
|
609
|
+
"description": "The path to a log file for communication between Dart Code and the Analysis Server.",
|
|
601
610
|
"scope": 6
|
|
602
611
|
},
|
|
603
612
|
"dart.dapLogFile": {
|
|
@@ -780,6 +789,12 @@ var dart = [
|
|
|
780
789
|
"description": "The protocol to use for the Dart Debug Extension backend service and injected client. Using WebSockets can improve performance but may fail when connecting through some proxy servers.",
|
|
781
790
|
"scope": 3
|
|
782
791
|
},
|
|
792
|
+
"dart.debugSdkLibraries": {
|
|
793
|
+
"type": "boolean",
|
|
794
|
+
"default": false,
|
|
795
|
+
"markdownDescription": "Whether to mark Dart SDK libraries (`dart:*`) as debuggable, enabling stepping into them while debugging.",
|
|
796
|
+
"scope": 3
|
|
797
|
+
},
|
|
783
798
|
"dart.debugExternalPackageLibraries": {
|
|
784
799
|
"type": "boolean",
|
|
785
800
|
"default": false,
|
|
@@ -870,6 +885,24 @@ var dart = [
|
|
|
870
885
|
"items": {
|
|
871
886
|
"type": "string"
|
|
872
887
|
}
|
|
888
|
+
},
|
|
889
|
+
"dart.customDartDapPath": {
|
|
890
|
+
"type": [
|
|
891
|
+
"null",
|
|
892
|
+
"string"
|
|
893
|
+
],
|
|
894
|
+
"default": null,
|
|
895
|
+
"description": "The path to a custom Dart Debug Adapter. This setting is intended for use by Dart Debug Adapter developers.",
|
|
896
|
+
"scope": 6
|
|
897
|
+
},
|
|
898
|
+
"dart.customFlutterDapPath": {
|
|
899
|
+
"type": [
|
|
900
|
+
"null",
|
|
901
|
+
"string"
|
|
902
|
+
],
|
|
903
|
+
"default": null,
|
|
904
|
+
"description": "The path to a custom Flutter Debug Adapter. This setting is intended for use by Dart Debug Adapter developers.",
|
|
905
|
+
"scope": 6
|
|
873
906
|
}
|
|
874
907
|
}
|
|
875
908
|
},
|
|
@@ -901,12 +934,6 @@ var dart = [
|
|
|
901
934
|
},
|
|
902
935
|
"scope": 6
|
|
903
936
|
},
|
|
904
|
-
"dart.debugSdkLibraries": {
|
|
905
|
-
"type": "boolean",
|
|
906
|
-
"default": false,
|
|
907
|
-
"markdownDescription": "Whether to mark Dart SDK libraries (`dart:*`) as debuggable, enabling stepping into them while debugging.",
|
|
908
|
-
"scope": 3
|
|
909
|
-
},
|
|
910
937
|
"dart.flutterSdkPath": {
|
|
911
938
|
"type": [
|
|
912
939
|
"null",
|
|
@@ -996,9 +1023,15 @@ var dart = [
|
|
|
996
1023
|
"dart.previewBazelWorkspaceCustomScripts": {
|
|
997
1024
|
"type": "boolean",
|
|
998
1025
|
"default": false,
|
|
999
|
-
"markdownDescription": "EXPERIMENTAL: Whether to look for custom script definitions at `dart/config/
|
|
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.",
|
|
1000
1027
|
"scope": 3
|
|
1001
1028
|
},
|
|
1029
|
+
"dart.daemonPort": {
|
|
1030
|
+
"type": "number",
|
|
1031
|
+
"default": false,
|
|
1032
|
+
"markdownDescription": "EXPERIMENTAL: The port where flutter daemon can be accessed if daemon is run remotely. This setting is intended for use by Google developers.",
|
|
1033
|
+
"scope": 4
|
|
1034
|
+
},
|
|
1002
1035
|
"dart.previewCommitCharacters": {
|
|
1003
1036
|
"type": "boolean",
|
|
1004
1037
|
"default": false,
|
|
@@ -1,7 +1 @@
|
|
|
1
1
|
export declare function loadConfigurationForExtension(extensionId: string): Promise<void>;
|
|
2
|
-
/**
|
|
3
|
-
* comes from https://github.com/microsoft/vscode/blob/16d0a319b28caa4b6cf4e6801fd508282b7533e0/src/vs/workbench/contrib/files/browser/files.contribution.ts#L132
|
|
4
|
-
* Required by the Lua language server
|
|
5
|
-
*/
|
|
6
|
-
export declare const FILES_EXCLUDE_CONFIG = "files.exclude";
|
|
7
|
-
export declare const FILES_ASSOCIATIONS_CONFIG = "files.associations";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { _ as _objectSpread2 } from '../_rollupPluginBabelHelpers.js';
|
|
2
1
|
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
|
|
3
2
|
|
|
4
3
|
// Generated file, do not modify
|
|
@@ -138,65 +137,5 @@ async function loadConfigurationForExtension(extensionId) {
|
|
|
138
137
|
const configuration = await loader$1();
|
|
139
138
|
configurationRegistry.registerConfigurations(configuration);
|
|
140
139
|
}
|
|
141
|
-
/**
|
|
142
|
-
* comes from https://github.com/microsoft/vscode/blob/16d0a319b28caa4b6cf4e6801fd508282b7533e0/src/vs/workbench/contrib/files/browser/files.contribution.ts#L132
|
|
143
|
-
* Required by the Lua language server
|
|
144
|
-
*/
|
|
145
|
-
|
|
146
|
-
const FILES_EXCLUDE_CONFIG = 'files.exclude';
|
|
147
|
-
const FILES_ASSOCIATIONS_CONFIG = 'files.associations';
|
|
148
|
-
const ConfigurationScope = monaco.extra.ConfigurationScope;
|
|
149
|
-
const nls = {
|
|
150
|
-
localize: (key, defaultValue) => defaultValue
|
|
151
|
-
};
|
|
152
|
-
configurationRegistry.registerConfiguration({
|
|
153
|
-
id: 'files',
|
|
154
|
-
order: 9,
|
|
155
|
-
title: 'Files',
|
|
156
|
-
type: 'object',
|
|
157
|
-
properties: {
|
|
158
|
-
[FILES_EXCLUDE_CONFIG]: {
|
|
159
|
-
type: 'object',
|
|
160
|
-
markdownDescription: nls.localize('exclude', 'Configure glob patterns for excluding files and folders. For example, the file Explorer decides which files and folders to show or hide based on this setting. Refer to the `#search.exclude#` setting to define search specific excludes. Read more about glob patterns [here](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).'),
|
|
161
|
-
default: _objectSpread2(_objectSpread2({}, {
|
|
162
|
-
'**/.git': true,
|
|
163
|
-
'**/.svn': true,
|
|
164
|
-
'**/.hg': true,
|
|
165
|
-
'**/CVS': true,
|
|
166
|
-
'**/.DS_Store': true,
|
|
167
|
-
'**/Thumbs.db': true
|
|
168
|
-
}), {
|
|
169
|
-
'**/*.crswap': true
|
|
170
|
-
/* filter out swap files used for local file access */
|
|
171
|
-
|
|
172
|
-
} ),
|
|
173
|
-
scope: ConfigurationScope.RESOURCE,
|
|
174
|
-
additionalProperties: {
|
|
175
|
-
anyOf: [{
|
|
176
|
-
type: 'boolean',
|
|
177
|
-
description: nls.localize('files.exclude.boolean', 'The glob pattern to match file paths against. Set to true or false to enable or disable the pattern.')
|
|
178
|
-
}, {
|
|
179
|
-
type: 'object',
|
|
180
|
-
properties: {
|
|
181
|
-
when: {
|
|
182
|
-
type: 'string',
|
|
183
|
-
// expression ({ "**/*.js": { "when": "$(basename).js" } })
|
|
184
|
-
pattern: '\\w*\\$\\(basename\\)\\w*',
|
|
185
|
-
default: '$(basename).ext',
|
|
186
|
-
description: nls.localize('files.exclude.when', 'Additional check on the siblings of a matching file. Use $(basename) as variable for the matching file name.')
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}]
|
|
190
|
-
}
|
|
191
|
-
},
|
|
192
|
-
[FILES_ASSOCIATIONS_CONFIG]: {
|
|
193
|
-
type: 'object',
|
|
194
|
-
markdownDescription: nls.localize('associations', 'Configure file associations to languages (e.g. `"*.extension": "html"`). These have precedence over the default associations of the languages installed.'),
|
|
195
|
-
additionalProperties: {
|
|
196
|
-
type: 'string'
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
});
|
|
201
140
|
|
|
202
|
-
export {
|
|
141
|
+
export { loadConfigurationForExtension };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
|
|
2
2
|
import 'monaco-editor/esm/vs/language/html/monaco.contribution';
|
|
3
|
-
import { r as registerConfigurations, g as getConfiguration, o as onConfigurationChanged } from '../
|
|
3
|
+
import { r as registerConfigurations, g as getConfiguration, o as onConfigurationChanged } from '../index2.js';
|
|
4
4
|
import { r as registerWorkerLoader } from '../worker.js';
|
|
5
5
|
import 'vscode/services';
|
|
6
6
|
import 'vscode/service-override/configuration';
|
|
7
|
+
import '../_rollupPluginBabelHelpers.js';
|
|
7
8
|
|
|
8
9
|
const workerLoader = async () => (await import(
|
|
9
10
|
/* webpackChunkName: "MonacoHtmlWorker" */
|