@kusto/monaco-kusto 5.6.6 → 6.1.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/package.json +26 -16
- package/release/dev/commandFormatter.d.ts +6 -0
- package/release/dev/commandHighlighter.d.ts +20 -0
- package/release/dev/extendedEditor.d.ts +7 -0
- package/release/dev/kustoMode.d.ts +8 -0
- package/release/dev/kustoMode.js +1730 -3278
- package/release/dev/kustoWorker.d.ts +92 -0
- package/release/dev/kustoWorker.js +5687 -8534
- package/release/dev/languageFeatures.d.ts +91 -0
- package/release/dev/languageService/kustoLanguageService.d.ts +143 -0
- package/release/dev/languageService/kustoMonarchLanguageDefinition.d.ts +1 -0
- package/release/dev/languageService/renderInfo.d.ts +31 -0
- package/release/dev/languageService/schema.d.ts +144 -0
- package/release/dev/languageService/settings.d.ts +30 -0
- package/release/dev/main-ac12725e.js +1958 -0
- package/release/dev/monaco.contribution.d.ts +15 -0
- package/release/dev/monaco.contribution.js +462 -309
- package/release/dev/workerManager.d.ts +23 -0
- package/release/esm/commandFormatter.d.ts +6 -0
- package/release/esm/commandHighlighter.d.ts +20 -0
- package/release/esm/extendedEditor.d.ts +7 -0
- package/release/esm/kusto.worker.js +2246 -5
- package/release/esm/kustoMode.d.ts +8 -0
- package/release/esm/kustoMode.js +1120 -88
- package/release/esm/kustoWorker.d.ts +92 -0
- package/release/esm/languageFeatures.d.ts +91 -0
- package/release/esm/languageService/kustoLanguageService.d.ts +143 -0
- package/release/esm/languageService/kustoMonarchLanguageDefinition.d.ts +1 -0
- package/release/esm/languageService/renderInfo.d.ts +31 -0
- package/release/esm/languageService/schema.d.ts +144 -0
- package/release/esm/languageService/settings.d.ts +30 -0
- package/release/esm/monaco.contribution.d.ts +1 -0
- package/release/esm/monaco.contribution.js +424 -181
- package/release/esm/workerManager.d.ts +23 -0
- package/release/min/commandFormatter.d.ts +6 -0
- package/release/min/commandHighlighter.d.ts +20 -0
- package/release/min/extendedEditor.d.ts +7 -0
- package/release/min/kustoMode.d.ts +8 -0
- package/release/min/kustoMode.js +2 -11
- package/release/min/kustoWorker.d.ts +92 -0
- package/release/min/kustoWorker.js +10 -53
- package/release/min/languageFeatures.d.ts +91 -0
- package/release/min/languageService/kustoLanguageService.d.ts +143 -0
- package/release/min/languageService/kustoMonarchLanguageDefinition.d.ts +1 -0
- package/release/min/languageService/renderInfo.d.ts +31 -0
- package/release/min/languageService/schema.d.ts +144 -0
- package/release/min/languageService/settings.d.ts +30 -0
- package/release/min/main-5b1cc297.js +7 -0
- package/release/min/monaco.contribution.d.ts +1 -0
- package/release/min/monaco.contribution.js +2 -2
- package/release/min/monaco.d.ts +1 -319
- package/release/min/workerManager.d.ts +23 -0
- package/release/{esm/monaco.d.ts → monaco.d.ts} +1 -1
- package/release/esm/_deps/lodash/lodash.js +0 -17209
- package/release/esm/_deps/vscode-languageserver-types/main.js +0 -1908
- package/release/esm/_deps/xregexp/xregexp-all.js +0 -4652
- package/release/esm/commandFormatter.js +0 -36
- package/release/esm/commandHighlighter.js +0 -51
- package/release/esm/extendedEditor.js +0 -38
- package/release/esm/kustoWorker.js +0 -245
- package/release/esm/languageFeatures.js +0 -1032
- package/release/esm/languageService/kustoLanguageService.js +0 -1912
- package/release/esm/languageService/kustoMonarchLanguageDefinition.js +0 -127
- package/release/esm/languageService/schema.js +0 -64
- package/release/esm/workerManager.js +0 -102
|
@@ -1,344 +1,497 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* monaco-kusto version: 6.1.0(b14a2ec944d355ac340af8280e7c1a4ea98f6c8c)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://https://github.com/Azure/monaco-kusto/blob/master/README.md
|
|
6
|
+
*-----------------------------------------------------------------------------*/
|
|
7
|
+
|
|
8
|
+
define('vs/language/kusto/monaco.contribution', ['require', 'exports'], (function (require, exports) { 'use strict';
|
|
9
|
+
|
|
10
|
+
function _typeof$2(obj) { "@babel/helpers - typeof"; return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof$2(obj); }
|
|
11
|
+
function _classCallCheck$2(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
12
|
+
function _defineProperties$2(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey$2(descriptor.key), descriptor); } }
|
|
13
|
+
function _createClass$2(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$2(Constructor.prototype, protoProps); if (staticProps) _defineProperties$2(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14
|
+
function _defineProperty$2(obj, key, value) { key = _toPropertyKey$2(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15
|
+
function _toPropertyKey$2(arg) { var key = _toPrimitive$2(arg, "string"); return _typeof$2(key) === "symbol" ? key : String(key); }
|
|
16
|
+
function _toPrimitive$2(input, hint) { if (_typeof$2(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof$2(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
4
17
|
/**
|
|
5
18
|
* Highlights the command that surround cursor location
|
|
6
19
|
*/
|
|
7
|
-
var KustoCommandHighlighter =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
var KustoCommandHighlighter = /*#__PURE__*/function () {
|
|
21
|
+
/**
|
|
22
|
+
* Register to cursor movement and seleciton events.
|
|
23
|
+
* @param editor monaco editor instance
|
|
24
|
+
*/
|
|
25
|
+
function KustoCommandHighlighter(editor) {
|
|
26
|
+
var _this = this;
|
|
27
|
+
_classCallCheck$2(this, KustoCommandHighlighter);
|
|
28
|
+
_defineProperty$2(this, "disposables", []);
|
|
29
|
+
_defineProperty$2(this, "decorations", []);
|
|
30
|
+
this.editor = editor;
|
|
31
|
+
// Note that selection update is triggered not only for selection changes, but also just when no text selection is occuring and cursor just moves around.
|
|
32
|
+
// This case is counted as a 0-length selection starting and ending on the cursor position.
|
|
33
|
+
this.editor.onDidChangeCursorSelection(function (changeEvent) {
|
|
34
|
+
if (_this.editor.getModel().getLanguageId() !== 'kusto') {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
_this.highlightCommandUnderCursor(changeEvent);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
_createClass$2(KustoCommandHighlighter, [{
|
|
41
|
+
key: "getId",
|
|
42
|
+
value: function getId() {
|
|
43
|
+
return KustoCommandHighlighter.ID;
|
|
25
44
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
});
|
|
45
|
+
}, {
|
|
46
|
+
key: "dispose",
|
|
47
|
+
value: function dispose() {
|
|
48
|
+
this.disposables.forEach(function (d) {
|
|
49
|
+
return d.dispose();
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
}, {
|
|
53
|
+
key: "highlightCommandUnderCursor",
|
|
54
|
+
value: function highlightCommandUnderCursor(changeEvent) {
|
|
55
|
+
// Looks like the user selected a bunch of text. we don't want to highlight the entire command in this case - since highlighting
|
|
56
|
+
// the text is more helpful.
|
|
57
|
+
if (!changeEvent.selection.isEmpty()) {
|
|
58
|
+
this.decorations = this.editor.deltaDecorations(this.decorations, []);
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
var commandRange = this.editor.getCurrentCommandRange(changeEvent.selection.getStartPosition());
|
|
62
|
+
var decorations = [{
|
|
63
|
+
range: commandRange,
|
|
64
|
+
options: KustoCommandHighlighter.CURRENT_COMMAND_HIGHLIGHT
|
|
65
|
+
}];
|
|
66
|
+
this.decorations = this.editor.deltaDecorations(this.decorations, decorations);
|
|
67
|
+
}
|
|
68
|
+
}]);
|
|
69
|
+
return KustoCommandHighlighter;
|
|
70
|
+
}();
|
|
71
|
+
_defineProperty$2(KustoCommandHighlighter, "ID", 'editor.contrib.kustoCommandHighliter');
|
|
72
|
+
_defineProperty$2(KustoCommandHighlighter, "CURRENT_COMMAND_HIGHLIGHT", {
|
|
73
|
+
className: 'selectionHighlight'
|
|
74
|
+
});
|
|
56
75
|
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
Object.defineProperty(
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
// Thus we don't have a key binding provided yet when onDidCreateEditor is run, which is essential to call addAction.
|
|
75
|
-
// By adding the action here in onDidChangeCursorSelection we're making sure that the editor has a key binding provider,
|
|
76
|
-
// and we just need to make sure that this happens only once.
|
|
77
|
-
if (!_this.actionAdded) {
|
|
78
|
-
editor.addAction({
|
|
79
|
-
id: 'editor.action.kusto.formatCurrentCommand',
|
|
80
|
-
label: 'Format Command Under Cursor',
|
|
81
|
-
keybindings: [
|
|
82
|
-
monaco.KeyMod.chord(monaco.KeyMod.CtrlCmd | monaco.KeyCode.KeyK, monaco.KeyMod.CtrlCmd | monaco.KeyCode.KeyF),
|
|
83
|
-
],
|
|
84
|
-
run: function (ed) {
|
|
85
|
-
editor.trigger('KustoCommandFormatter', 'editor.action.formatSelection', null);
|
|
86
|
-
},
|
|
87
|
-
contextMenuGroupId: '1_modification',
|
|
88
|
-
});
|
|
89
|
-
_this.actionAdded = true;
|
|
90
|
-
}
|
|
91
|
-
});
|
|
76
|
+
function _typeof$1(obj) { "@babel/helpers - typeof"; return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof$1(obj); }
|
|
77
|
+
function _defineProperties$1(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey$1(descriptor.key), descriptor); } }
|
|
78
|
+
function _createClass$1(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$1(Constructor.prototype, protoProps); if (staticProps) _defineProperties$1(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
79
|
+
function _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
80
|
+
function _defineProperty$1(obj, key, value) { key = _toPropertyKey$1(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
81
|
+
function _toPropertyKey$1(arg) { var key = _toPrimitive$1(arg, "string"); return _typeof$1(key) === "symbol" ? key : String(key); }
|
|
82
|
+
function _toPrimitive$1(input, hint) { if (_typeof$1(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof$1(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
83
|
+
var KustoCommandFormatter = /*#__PURE__*/_createClass$1(function KustoCommandFormatter(editor) {
|
|
84
|
+
var _this = this;
|
|
85
|
+
_classCallCheck$1(this, KustoCommandFormatter);
|
|
86
|
+
_defineProperty$1(this, "actionAdded", false);
|
|
87
|
+
this.editor = editor;
|
|
88
|
+
// selection also represents no selection - for example the event gets triggered when moving cursor from point
|
|
89
|
+
// a to point b. in the case start position will equal end position.
|
|
90
|
+
editor.onDidChangeCursorSelection(function (changeEvent) {
|
|
91
|
+
if (_this.editor.getModel().getLanguageId() !== 'kusto') {
|
|
92
|
+
return;
|
|
92
93
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
// Theoretically you would expect this code to run only once in onDidCreateEditor.
|
|
95
|
+
// Turns out that onDidCreateEditor is fired before the IStandaloneEditor is completely created (it is emmited by
|
|
96
|
+
// the super ctor before the child ctor was able to fully run).
|
|
97
|
+
// Thus we don't have a key binding provided yet when onDidCreateEditor is run, which is essential to call addAction.
|
|
98
|
+
// By adding the action here in onDidChangeCursorSelection we're making sure that the editor has a key binding provider,
|
|
99
|
+
// and we just need to make sure that this happens only once.
|
|
100
|
+
if (!_this.actionAdded) {
|
|
101
|
+
editor.addAction({
|
|
102
|
+
id: 'editor.action.kusto.formatCurrentCommand',
|
|
103
|
+
label: 'Format Command Under Cursor',
|
|
104
|
+
keybindings: [monaco.KeyMod.chord(monaco.KeyMod.CtrlCmd | monaco.KeyCode.KeyK, monaco.KeyMod.CtrlCmd | monaco.KeyCode.KeyF)],
|
|
105
|
+
run: function run(ed) {
|
|
106
|
+
editor.trigger('KustoCommandFormatter', 'editor.action.formatSelection', null);
|
|
107
|
+
},
|
|
108
|
+
contextMenuGroupId: '1_modification'
|
|
109
|
+
});
|
|
110
|
+
_this.actionAdded = true;
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
});
|
|
97
114
|
|
|
98
|
-
define('vs/language/kusto/extendedEditor',["require", "exports"], function (require, exports) {
|
|
99
|
-
"use strict";
|
|
100
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
101
|
-
exports.extend = void 0;
|
|
102
115
|
/**
|
|
103
116
|
* Extending ICode editor to contain additional kusto-specific methods.
|
|
104
117
|
* note that the extend method needs to be called at least once to take affect, otherwise this here code is useless.
|
|
105
118
|
*/
|
|
106
119
|
function extend(editor) {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
120
|
+
var proto = Object.getPrototypeOf(editor);
|
|
121
|
+
proto.getCurrentCommandRange = function (cursorPosition) {
|
|
122
|
+
var zeroBasedCursorLineNumber = cursorPosition.lineNumber - 1;
|
|
123
|
+
var lines = this.getModel().getLinesContent();
|
|
124
|
+
var commandOrdinal = 0;
|
|
125
|
+
var linesWithCommandOrdinal = [];
|
|
126
|
+
for (var lineNumber = 0; lineNumber < lines.length; lineNumber++) {
|
|
127
|
+
var isEmptyLine = lines[lineNumber].trim() === '';
|
|
128
|
+
if (isEmptyLine) {
|
|
129
|
+
// increase commandCounter - we'll be starting a new command.
|
|
130
|
+
linesWithCommandOrdinal.push({
|
|
131
|
+
commandOrdinal: commandOrdinal++,
|
|
132
|
+
lineNumber: lineNumber
|
|
133
|
+
});
|
|
134
|
+
} else {
|
|
135
|
+
linesWithCommandOrdinal.push({
|
|
136
|
+
commandOrdinal: commandOrdinal,
|
|
137
|
+
lineNumber: lineNumber
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// No need to keep scanning if we're past our line and we've seen an empty line.
|
|
142
|
+
if (lineNumber > zeroBasedCursorLineNumber && commandOrdinal > linesWithCommandOrdinal[zeroBasedCursorLineNumber].commandOrdinal) {
|
|
143
|
+
break;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
var currentCommandOrdinal = linesWithCommandOrdinal[zeroBasedCursorLineNumber].commandOrdinal;
|
|
147
|
+
var currentCommandLines = linesWithCommandOrdinal.filter(function (line) {
|
|
148
|
+
return line.commandOrdinal === currentCommandOrdinal;
|
|
149
|
+
});
|
|
150
|
+
var currentCommandStartLine = currentCommandLines[0].lineNumber + 1;
|
|
151
|
+
var currentCommandEndLine = currentCommandLines[currentCommandLines.length - 1].lineNumber + 1;
|
|
152
|
+
|
|
153
|
+
// End-column of 1 means no characters will be highlighted - since columns are 1-based in monaco apis.
|
|
154
|
+
// Start-column of 1 and End column of 2 means 1st character is selected.
|
|
155
|
+
// Thus if a line has n column and we need to provide n+1 so that the entire line will be highlighted.
|
|
156
|
+
var commandEndColumn = lines[currentCommandEndLine - 1].length + 1;
|
|
157
|
+
return new monaco.Range(currentCommandStartLine, 1, currentCommandEndLine, commandEndColumn);
|
|
158
|
+
};
|
|
139
159
|
}
|
|
140
|
-
exports.extend = extend;
|
|
141
|
-
});
|
|
142
160
|
|
|
143
|
-
|
|
144
|
-
"
|
|
145
|
-
|
|
146
|
-
|
|
161
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
162
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
163
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
164
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
165
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
166
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
167
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
147
168
|
var Emitter = monaco.Emitter;
|
|
169
|
+
monaco.IEvent;
|
|
170
|
+
|
|
171
|
+
// declare var require: <T>(moduleId: [string], callback: (module: T) => void) => void;
|
|
172
|
+
|
|
148
173
|
// --- Kusto configuration and defaults ---------
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
174
|
+
|
|
175
|
+
var LanguageServiceDefaultsImpl = /*#__PURE__*/function () {
|
|
176
|
+
function LanguageServiceDefaultsImpl(languageSettings) {
|
|
177
|
+
_classCallCheck(this, LanguageServiceDefaultsImpl);
|
|
178
|
+
_defineProperty(this, "_onDidChange", new Emitter());
|
|
179
|
+
this.setLanguageSettings(languageSettings);
|
|
180
|
+
// default to never kill worker when idle.
|
|
181
|
+
// reason: when killing worker - schema gets lost. We transmit the schema back to main process when killing
|
|
182
|
+
// the worker, but in some extreme cases web worker runs out of memory while stringifying the schema.
|
|
183
|
+
// This stems from the fact that web workers have much more limited memory that the main process.
|
|
184
|
+
// An alternative solution (not currently implemented) is to just save the schema in the main process whenever calling
|
|
185
|
+
// setSchema. That way we don't need to stringify the schema on the worker side when killing the web worker.
|
|
186
|
+
this._workerMaxIdleTime = 0;
|
|
187
|
+
}
|
|
188
|
+
_createClass(LanguageServiceDefaultsImpl, [{
|
|
189
|
+
key: "onDidChange",
|
|
190
|
+
get: function get() {
|
|
191
|
+
return this._onDidChange.event;
|
|
160
192
|
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
return LanguageServiceDefaultsImpl;
|
|
188
|
-
}());
|
|
189
|
-
exports.LanguageServiceDefaultsImpl = LanguageServiceDefaultsImpl;
|
|
193
|
+
}, {
|
|
194
|
+
key: "languageSettings",
|
|
195
|
+
get: function get() {
|
|
196
|
+
return this._languageSettings;
|
|
197
|
+
}
|
|
198
|
+
}, {
|
|
199
|
+
key: "setLanguageSettings",
|
|
200
|
+
value: function setLanguageSettings(options) {
|
|
201
|
+
this._languageSettings = options || Object.create(null);
|
|
202
|
+
this._onDidChange.fire(this);
|
|
203
|
+
}
|
|
204
|
+
}, {
|
|
205
|
+
key: "setMaximumWorkerIdleTime",
|
|
206
|
+
value: function setMaximumWorkerIdleTime(value) {
|
|
207
|
+
// doesn't fire an event since no
|
|
208
|
+
// worker restart is required here
|
|
209
|
+
this._workerMaxIdleTime = value;
|
|
210
|
+
}
|
|
211
|
+
}, {
|
|
212
|
+
key: "getWorkerMaxIdleTime",
|
|
213
|
+
value: function getWorkerMaxIdleTime() {
|
|
214
|
+
return this._workerMaxIdleTime;
|
|
215
|
+
}
|
|
216
|
+
}]);
|
|
217
|
+
return LanguageServiceDefaultsImpl;
|
|
218
|
+
}();
|
|
190
219
|
var defaultLanguageSettings = {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
220
|
+
includeControlCommands: true,
|
|
221
|
+
newlineAfterPipe: true,
|
|
222
|
+
openSuggestionDialogAfterPreviousSuggestionAccepted: true,
|
|
223
|
+
useIntellisenseV2: true,
|
|
224
|
+
useSemanticColorization: true,
|
|
225
|
+
useTokenColorization: false,
|
|
226
|
+
enableHover: true,
|
|
227
|
+
formatter: {
|
|
228
|
+
indentationSize: 4,
|
|
229
|
+
pipeOperatorStyle: 'Smart'
|
|
230
|
+
},
|
|
231
|
+
syntaxErrorAsMarkDown: {
|
|
232
|
+
enableSyntaxErrorAsMarkDown: false
|
|
233
|
+
},
|
|
234
|
+
enableQueryWarnings: false,
|
|
235
|
+
enableQuerySuggestions: false,
|
|
236
|
+
disabledDiagnosticCodes: [],
|
|
237
|
+
quickFixCodeActions: ['Change to', 'FixAll'],
|
|
238
|
+
enableQuickFixes: false
|
|
210
239
|
};
|
|
211
240
|
function getKustoWorker() {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
});
|
|
241
|
+
return new Promise(function (resolve, reject) {
|
|
242
|
+
withMode(function (mode) {
|
|
243
|
+
mode.getKustoWorker().then(resolve, reject);
|
|
216
244
|
});
|
|
245
|
+
});
|
|
217
246
|
}
|
|
218
247
|
function withMode(callback) {
|
|
219
|
-
|
|
248
|
+
new Promise(function (resolve, reject) { require(['./kustoMode'], resolve, reject); }).then(callback);
|
|
220
249
|
}
|
|
221
250
|
function setupMonacoKusto(monacoInstance) {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
monacoInstance.languages.register({
|
|
234
|
-
id: 'kusto',
|
|
235
|
-
extensions: ['.csl', '.kql'],
|
|
236
|
-
});
|
|
237
|
-
// TODO: asked if there's a cleaner way to register an editor contribution. looks like monaco has an internal contribution registrar but it's no exposed in the API.
|
|
238
|
-
// https://stackoverflow.com/questions/46700245/how-to-add-an-ieditorcontribution-to-monaco-editor
|
|
239
|
-
var commandHighlighter;
|
|
240
|
-
var commandFormatter;
|
|
241
|
-
monacoInstance.editor.defineTheme('kusto-light', {
|
|
242
|
-
base: 'vs',
|
|
243
|
-
inherit: true,
|
|
244
|
-
rules: [
|
|
245
|
-
{ token: 'comment', foreground: '008000' },
|
|
246
|
-
{ token: 'variable.predefined', foreground: '800080' },
|
|
247
|
-
{ token: 'function', foreground: '0000FF' },
|
|
248
|
-
{ token: 'operator.sql', foreground: 'CC3700' },
|
|
249
|
-
{ token: 'string', foreground: 'B22222' },
|
|
250
|
-
{ token: 'operator.scss', foreground: '0000FF' },
|
|
251
|
-
{ token: 'variable', foreground: 'C71585' },
|
|
252
|
-
{ token: 'variable.parameter', foreground: '9932CC' },
|
|
253
|
-
{ token: '', foreground: '000000' },
|
|
254
|
-
{ token: 'type', foreground: '0000FF' },
|
|
255
|
-
{ token: 'tag', foreground: '0000FF' },
|
|
256
|
-
{ token: 'annotation', foreground: '2B91AF' },
|
|
257
|
-
{ token: 'keyword', foreground: '0000FF' },
|
|
258
|
-
{ token: 'number', foreground: '191970' },
|
|
259
|
-
{ token: 'annotation', foreground: '9400D3' },
|
|
260
|
-
{ token: 'invalid', background: 'cd3131' },
|
|
261
|
-
],
|
|
262
|
-
colors: {},
|
|
263
|
-
});
|
|
264
|
-
monacoInstance.editor.defineTheme('kusto-dark', {
|
|
265
|
-
base: 'vs-dark',
|
|
266
|
-
inherit: true,
|
|
267
|
-
rules: [
|
|
268
|
-
{ token: 'comment', foreground: '608B4E' },
|
|
269
|
-
{ token: 'variable.predefined', foreground: '4ec9b0' },
|
|
270
|
-
{ token: 'function', foreground: 'dcdcaa' },
|
|
271
|
-
{ token: 'operator.sql', foreground: '9cdcfe' },
|
|
272
|
-
{ token: 'string', foreground: 'ce9178' },
|
|
273
|
-
{ token: 'operator.scss', foreground: '569cd6' },
|
|
274
|
-
{ token: 'variable', foreground: '4ec9b0' },
|
|
275
|
-
{ token: 'variable.parameter', foreground: 'c586c0' },
|
|
276
|
-
{ token: '', foreground: 'd4d4d4' },
|
|
277
|
-
{ token: 'type', foreground: '569cd6' },
|
|
278
|
-
{ token: 'tag', foreground: '569cd6' },
|
|
279
|
-
{ token: 'annotation', foreground: '9cdcfe' },
|
|
280
|
-
{ token: 'keyword', foreground: '569cd6' },
|
|
281
|
-
{ token: 'number', foreground: 'd7ba7d' },
|
|
282
|
-
{ token: 'annotation', foreground: 'b5cea8' },
|
|
283
|
-
{ token: 'invalid', background: 'cd3131' },
|
|
284
|
-
],
|
|
285
|
-
colors: {
|
|
286
|
-
// see: https://code.visualstudio.com/api/references/theme-color#editor-widget-colors
|
|
287
|
-
},
|
|
288
|
-
});
|
|
289
|
-
monacoInstance.editor.defineTheme('kusto-dark2', {
|
|
290
|
-
base: 'vs-dark',
|
|
291
|
-
inherit: true,
|
|
292
|
-
rules: [],
|
|
293
|
-
colors: {
|
|
294
|
-
// see: https://code.visualstudio.com/api/references/theme-color#editor-widget-colors
|
|
295
|
-
'editor.background': '#1B1A19',
|
|
296
|
-
'editorSuggestWidget.selectedBackground': '#004E8C',
|
|
297
|
-
},
|
|
251
|
+
var kustoDefaults = new LanguageServiceDefaultsImpl(defaultLanguageSettings);
|
|
252
|
+
function createAPI() {
|
|
253
|
+
return {
|
|
254
|
+
kustoDefaults: kustoDefaults,
|
|
255
|
+
getKustoWorker: getKustoWorker
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
monacoInstance.languages.kusto = createAPI();
|
|
259
|
+
monacoInstance.languages.onLanguage('kusto', function () {
|
|
260
|
+
withMode(function (mode) {
|
|
261
|
+
return mode.setupMode(kustoDefaults, monacoInstance);
|
|
298
262
|
});
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
263
|
+
});
|
|
264
|
+
monacoInstance.languages.register({
|
|
265
|
+
id: 'kusto',
|
|
266
|
+
extensions: ['.csl', '.kql']
|
|
267
|
+
});
|
|
268
|
+
monacoInstance.editor.defineTheme('kusto-light', {
|
|
269
|
+
base: 'vs',
|
|
270
|
+
inherit: true,
|
|
271
|
+
rules: [{
|
|
272
|
+
token: 'comment',
|
|
273
|
+
foreground: '008000'
|
|
274
|
+
},
|
|
275
|
+
// CommentToken Green
|
|
276
|
+
{
|
|
277
|
+
token: 'variable.predefined',
|
|
278
|
+
foreground: '800080'
|
|
279
|
+
},
|
|
280
|
+
// CalculatedColumnToken Purple
|
|
281
|
+
{
|
|
282
|
+
token: 'function',
|
|
283
|
+
foreground: '0000FF'
|
|
284
|
+
},
|
|
285
|
+
// FunctionNameToken Blue
|
|
286
|
+
{
|
|
287
|
+
token: 'operator.sql',
|
|
288
|
+
foreground: 'CC3700'
|
|
289
|
+
},
|
|
290
|
+
// _WAS_ OperatorToken OrangeRed, but wasn't accessible.
|
|
291
|
+
{
|
|
292
|
+
token: 'string',
|
|
293
|
+
foreground: 'B22222'
|
|
294
|
+
},
|
|
295
|
+
// StringLiteralToken Firebrick
|
|
296
|
+
{
|
|
297
|
+
token: 'operator.scss',
|
|
298
|
+
foreground: '0000FF'
|
|
299
|
+
},
|
|
300
|
+
// SubOperatorToken Blue
|
|
301
|
+
{
|
|
302
|
+
token: 'variable',
|
|
303
|
+
foreground: 'C71585'
|
|
304
|
+
},
|
|
305
|
+
// TableColumnToken MediumVioletRed
|
|
306
|
+
{
|
|
307
|
+
token: 'variable.parameter',
|
|
308
|
+
foreground: '9932CC'
|
|
309
|
+
},
|
|
310
|
+
// TableToken DarkOrchid
|
|
311
|
+
{
|
|
312
|
+
token: '',
|
|
313
|
+
foreground: '000000'
|
|
314
|
+
},
|
|
315
|
+
// UnknownToken, PlainTextToken Black
|
|
316
|
+
{
|
|
317
|
+
token: 'type',
|
|
318
|
+
foreground: '0000FF'
|
|
319
|
+
},
|
|
320
|
+
// DataTypeToken Blue
|
|
321
|
+
{
|
|
322
|
+
token: 'tag',
|
|
323
|
+
foreground: '0000FF'
|
|
324
|
+
},
|
|
325
|
+
// ControlCommandToken Blue
|
|
326
|
+
{
|
|
327
|
+
token: 'annotation',
|
|
328
|
+
foreground: '2B91AF'
|
|
329
|
+
},
|
|
330
|
+
// QueryParametersToken FF2B91AF
|
|
331
|
+
{
|
|
332
|
+
token: 'keyword',
|
|
333
|
+
foreground: '0000FF'
|
|
334
|
+
},
|
|
335
|
+
// CslCommandToken, PluginToken Blue
|
|
336
|
+
{
|
|
337
|
+
token: 'number',
|
|
338
|
+
foreground: '191970'
|
|
339
|
+
},
|
|
340
|
+
// LetVariablesToken MidnightBlue
|
|
341
|
+
{
|
|
342
|
+
token: 'annotation',
|
|
343
|
+
foreground: '9400D3'
|
|
344
|
+
},
|
|
345
|
+
// ClientDirectiveToken DarkViolet
|
|
346
|
+
{
|
|
347
|
+
token: 'invalid',
|
|
348
|
+
background: 'cd3131'
|
|
349
|
+
}],
|
|
350
|
+
colors: {}
|
|
351
|
+
});
|
|
352
|
+
monacoInstance.editor.defineTheme('kusto-dark', {
|
|
353
|
+
base: 'vs-dark',
|
|
354
|
+
inherit: true,
|
|
355
|
+
rules: [{
|
|
356
|
+
token: 'comment',
|
|
357
|
+
foreground: '608B4E'
|
|
358
|
+
},
|
|
359
|
+
// CommentToken Green
|
|
360
|
+
{
|
|
361
|
+
token: 'variable.predefined',
|
|
362
|
+
foreground: '4ec9b0'
|
|
363
|
+
},
|
|
364
|
+
// CalculatedColumnToken Purple
|
|
365
|
+
{
|
|
366
|
+
token: 'function',
|
|
367
|
+
foreground: 'dcdcaa'
|
|
368
|
+
},
|
|
369
|
+
// FunctionNameToken Blue
|
|
370
|
+
{
|
|
371
|
+
token: 'operator.sql',
|
|
372
|
+
foreground: '9cdcfe'
|
|
373
|
+
},
|
|
374
|
+
// OperatorToken OrangeRed
|
|
375
|
+
{
|
|
376
|
+
token: 'string',
|
|
377
|
+
foreground: 'ce9178'
|
|
378
|
+
},
|
|
379
|
+
// StringLiteralToken Firebrick
|
|
380
|
+
{
|
|
381
|
+
token: 'operator.scss',
|
|
382
|
+
foreground: '569cd6'
|
|
383
|
+
},
|
|
384
|
+
// SubOperatorToken Blue
|
|
385
|
+
{
|
|
386
|
+
token: 'variable',
|
|
387
|
+
foreground: '4ec9b0'
|
|
388
|
+
},
|
|
389
|
+
// TableColumnToken MediumVioletRed
|
|
390
|
+
{
|
|
391
|
+
token: 'variable.parameter',
|
|
392
|
+
foreground: 'c586c0'
|
|
393
|
+
},
|
|
394
|
+
// TableToken DarkOrchid
|
|
395
|
+
{
|
|
396
|
+
token: '',
|
|
397
|
+
foreground: 'd4d4d4'
|
|
398
|
+
},
|
|
399
|
+
// UnknownToken, PlainTextToken Black
|
|
400
|
+
{
|
|
401
|
+
token: 'type',
|
|
402
|
+
foreground: '569cd6'
|
|
403
|
+
},
|
|
404
|
+
// DataTypeToken Blue
|
|
405
|
+
{
|
|
406
|
+
token: 'tag',
|
|
407
|
+
foreground: '569cd6'
|
|
408
|
+
},
|
|
409
|
+
// ControlCommandToken Blue
|
|
410
|
+
{
|
|
411
|
+
token: 'annotation',
|
|
412
|
+
foreground: '9cdcfe'
|
|
413
|
+
},
|
|
414
|
+
// QueryParametersToken FF2B91AF
|
|
415
|
+
{
|
|
416
|
+
token: 'keyword',
|
|
417
|
+
foreground: '569cd6'
|
|
418
|
+
},
|
|
419
|
+
// CslCommandToken, PluginToken Blue
|
|
420
|
+
{
|
|
421
|
+
token: 'number',
|
|
422
|
+
foreground: 'd7ba7d'
|
|
423
|
+
},
|
|
424
|
+
// LetVariablesToken MidnightBlue
|
|
425
|
+
{
|
|
426
|
+
token: 'annotation',
|
|
427
|
+
foreground: 'b5cea8'
|
|
428
|
+
},
|
|
429
|
+
// ClientDirectiveToken DarkViolet
|
|
430
|
+
{
|
|
431
|
+
token: 'invalid',
|
|
432
|
+
background: 'cd3131'
|
|
433
|
+
}],
|
|
434
|
+
colors: {
|
|
435
|
+
// see: https://code.visualstudio.com/api/references/theme-color#editor-widget-colors
|
|
436
|
+
}
|
|
437
|
+
});
|
|
438
|
+
monacoInstance.editor.defineTheme('kusto-dark2', {
|
|
439
|
+
base: 'vs-dark',
|
|
440
|
+
inherit: true,
|
|
441
|
+
rules: [],
|
|
442
|
+
colors: {
|
|
443
|
+
// see: https://code.visualstudio.com/api/references/theme-color#editor-widget-colors
|
|
444
|
+
'editor.background': '#1B1A19',
|
|
445
|
+
// gray 200
|
|
446
|
+
'editorSuggestWidget.selectedBackground': '#004E8C'
|
|
447
|
+
}
|
|
448
|
+
});
|
|
449
|
+
|
|
450
|
+
// Initialize kusto specific language features that don't currently have a natural way to extend using existing apis.
|
|
451
|
+
// Most other language features are initialized in kustoMode.ts
|
|
452
|
+
monacoInstance.editor.onDidCreateEditor(function (editor) {
|
|
453
|
+
// hook up extension methods to editor.
|
|
454
|
+
extend(editor);
|
|
455
|
+
new KustoCommandHighlighter(editor);
|
|
456
|
+
if (isStandaloneCodeEditor(editor)) {
|
|
457
|
+
new KustoCommandFormatter(editor);
|
|
458
|
+
}
|
|
459
|
+
triggerSuggestDialogWhenCompletionItemSelected(editor);
|
|
460
|
+
});
|
|
461
|
+
function triggerSuggestDialogWhenCompletionItemSelected(editor) {
|
|
462
|
+
editor.onDidChangeCursorSelection(function (event) {
|
|
463
|
+
// checking the condition inside the event makes sure we will stay up to date when kusto configuration changes at runtime.
|
|
464
|
+
if (kustoDefaults && kustoDefaults.languageSettings && kustoDefaults.languageSettings.openSuggestionDialogAfterPreviousSuggestionAccepted) {
|
|
465
|
+
var didAcceptSuggestion = event.source === 'snippet' && event.reason === monaco.editor.CursorChangeReason.NotSet;
|
|
466
|
+
// If the word at the current position is not null - meaning we did not add a space after completion.
|
|
467
|
+
// In this case we don't want to activate the eager mode, since it will display the current selected word..
|
|
468
|
+
if (!didAcceptSuggestion || editor.getModel().getWordAtPosition(event.selection.getPosition()) !== null) {
|
|
469
|
+
return;
|
|
307
470
|
}
|
|
308
|
-
|
|
471
|
+
event.selection;
|
|
472
|
+
// OK so now we in a situation where we know a suggestion was selected and we want to trigger another one.
|
|
473
|
+
// the only problem is that the suggestion widget itself listens to this same event in order to know it needs to close.
|
|
474
|
+
// The only problem is that we're ahead in line, so we're triggering a suggest operation that will be shut down once
|
|
475
|
+
// the next callback is called. This is why we're waiting here - to let all the callbacks run synchronously and be
|
|
476
|
+
// the 'last' subscriber to run. Granted this is hacky, but until monaco provides a specific event for suggestions,
|
|
477
|
+
// this is the best we have.
|
|
478
|
+
setTimeout(function () {
|
|
479
|
+
return editor.trigger('monaco-kusto', 'editor.action.triggerSuggest', {});
|
|
480
|
+
}, 10);
|
|
481
|
+
}
|
|
309
482
|
});
|
|
310
|
-
|
|
311
|
-
editor.onDidChangeCursorSelection(function (event) {
|
|
312
|
-
// checking the condition inside the event makes sure we will stay up to date when kusto configuration changes at runtime.
|
|
313
|
-
if (kustoDefaults &&
|
|
314
|
-
kustoDefaults.languageSettings &&
|
|
315
|
-
kustoDefaults.languageSettings.openSuggestionDialogAfterPreviousSuggestionAccepted) {
|
|
316
|
-
var didAcceptSuggestion = event.source === 'snippet' && event.reason === monaco.editor.CursorChangeReason.NotSet;
|
|
317
|
-
// If the word at the current position is not null - meaning we did not add a space after completion.
|
|
318
|
-
// In this case we don't want to activate the eager mode, since it will display the current selected word..
|
|
319
|
-
if (!didAcceptSuggestion ||
|
|
320
|
-
editor.getModel().getWordAtPosition(event.selection.getPosition()) !== null) {
|
|
321
|
-
return;
|
|
322
|
-
}
|
|
323
|
-
event.selection;
|
|
324
|
-
// OK so now we in a situation where we know a suggestion was selected and we want to trigger another one.
|
|
325
|
-
// the only problem is that the suggestion widget itself listens to this same event in order to know it needs to close.
|
|
326
|
-
// The only problem is that we're ahead in line, so we're triggering a suggest operation that will be shut down once
|
|
327
|
-
// the next callback is called. This is why we're waiting here - to let all the callbacks run synchronously and be
|
|
328
|
-
// the 'last' subscriber to run. Granted this is hacky, but until monaco provides a specific event for suggestions,
|
|
329
|
-
// this is the best we have.
|
|
330
|
-
setTimeout(function () { return editor.trigger('monaco-kusto', 'editor.action.triggerSuggest', {}); }, 10);
|
|
331
|
-
}
|
|
332
|
-
});
|
|
333
|
-
}
|
|
483
|
+
}
|
|
334
484
|
}
|
|
335
|
-
exports.setupMonacoKusto = setupMonacoKusto;
|
|
336
485
|
function isStandaloneCodeEditor(editor) {
|
|
337
|
-
|
|
486
|
+
return editor.addAction !== undefined;
|
|
338
487
|
}
|
|
488
|
+
|
|
339
489
|
// --- Registration to monaco editor ---
|
|
340
490
|
if (monaco.editor) {
|
|
341
|
-
|
|
491
|
+
setupMonacoKusto(monaco);
|
|
342
492
|
}
|
|
343
|
-
});
|
|
344
493
|
|
|
494
|
+
exports.LanguageServiceDefaultsImpl = LanguageServiceDefaultsImpl;
|
|
495
|
+
exports.setupMonacoKusto = setupMonacoKusto;
|
|
496
|
+
|
|
497
|
+
}));
|