@kusto/monaco-kusto 10.0.21 → 11.0.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.
@@ -1,11 +1,11 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 10.0.21(1a66aa7041bf94687bc1e155f25c36653c952049)
3
+ * monaco-kusto version: 11.0.0(2cd16f8743253b5a0133f2ba4f53203e02c1673c)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
7
7
 
8
- define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema-8c33b807'], (function (exports, main, schema) { 'use strict';
8
+ define('vs/language/kusto/kustoWorker', ['exports', './main-89eef687', './schema-d4b2563b'], (function (exports, main, schema) { 'use strict';
9
9
 
10
10
  function _slicedToArray$2(arr, i) { return _arrayWithHoles$2(arr) || _iterableToArrayLimit$2(arr, i) || _unsupportedIterableToArray$3(arr, i) || _nonIterableRest$2(); }
11
11
  function _nonIterableRest$2() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -3463,6 +3463,10 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
3463
3463
  );
3464
3464
  }
3465
3465
 
3466
+ var createSortingText = function createSortingText(priority) {
3467
+ return priority.toString().padStart(10, '0');
3468
+ };
3469
+
3466
3470
  var _excluded = ["name", "columns", "entityType", "docstring"];
3467
3471
  var _symbolKindToName;
3468
3472
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
@@ -3580,11 +3584,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
3580
3584
  */
3581
3585
  var KustoLanguageService = /*#__PURE__*/function () {
3582
3586
  function KustoLanguageService(schema, languageSettings) {
3583
- var _defineProperty2,
3584
- _this = this,
3585
- _defineProperty3,
3586
- _defineProperty4,
3587
- _defineProperty5;
3587
+ var _defineProperty2, _defineProperty3, _defineProperty4, _defineProperty5;
3588
3588
  _classCallCheck$1(this, KustoLanguageService);
3589
3589
  /**
3590
3590
  * Taken from:
@@ -3600,9 +3600,6 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
3600
3600
  '3Dchart': k2.CompletionKind.RenderChart,
3601
3601
  list: k2.CompletionKind.RenderChart
3602
3602
  });
3603
- _defineProperty(this, "isIntellisenseV2", function () {
3604
- return _this._languageSettings.useIntellisenseV2 && _this._schema && _this._schema.clusterType === 'Engine';
3605
- });
3606
3603
  _defineProperty(this, "disabledCompletionItemsV1", {
3607
3604
  capacity: k.OptionKind.Policy,
3608
3605
  callout: k.OptionKind.Policy,
@@ -3683,7 +3680,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
3683
3680
  }, {
3684
3681
  key: "doComplete",
3685
3682
  value: function doComplete(document, position) {
3686
- return this.isIntellisenseV2() ? this.doCompleteV2(document, position) : this.doCompleteV1(document, position);
3683
+ return this.doCompleteV2(document, position);
3687
3684
  }
3688
3685
  }, {
3689
3686
  key: "debugGlobalState",
@@ -3726,7 +3723,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
3726
3723
  }, {
3727
3724
  key: "doCompleteV2",
3728
3725
  value: function doCompleteV2(document, position) {
3729
- var _this2 = this;
3726
+ var _this = this;
3730
3727
  if (!document) {
3731
3728
  return Promise.resolve(main.CompletionList.create([]));
3732
3729
  }
@@ -3750,10 +3747,10 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
3750
3747
  var itemsAsArray = this.toArray(completionItems.Items);
3751
3748
  var items = itemsAsArray.filter(function (item) {
3752
3749
  return !(item && item.MatchText && disabledItems[item.MatchText] !== undefined && (disabledItems[item.MatchText] === k2.CompletionKind.Unknown || disabledItems[item.MatchText] === item.Kind));
3753
- }).map(function (kItem, i) {
3754
- var v1CompletionOption = new k.CompletionOption(_this2._toOptionKind[kItem.Kind] || k.OptionKind.None, kItem.DisplayText);
3755
- var helpTopic = _this2.getTopic(v1CompletionOption);
3756
- // If we have AfterText it means that the cursor should no be placed at end of suggested text.
3750
+ }).map(function (kItem, index) {
3751
+ var v1CompletionOption = new k.CompletionOption(_this._toOptionKind[kItem.Kind] || k.OptionKind.None, kItem.DisplayText);
3752
+ var helpTopic = _this.getTopic(v1CompletionOption);
3753
+ // If we have AfterText it means that the cursor should not be placed at end of suggested text.
3757
3754
  // In that case we switch to snippet format and represent the point where the cursor should be as
3758
3755
  // as '\$0'
3759
3756
  var _ref = kItem.AfterText && kItem.AfterText.length > 0 ? {
@@ -3768,35 +3765,24 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
3768
3765
  textToInsert = _ref.textToInsert,
3769
3766
  format = _ref.format;
3770
3767
  var lsItem = main.CompletionItem.create(kItem.DisplayText);
3771
-
3772
- // Adding to columns a prefix to their sortText so they will appear first in the list
3773
- var sortTextPrefix = lsItem.kind === main.CompletionItemKind.Field ? 0 : itemsAsArray.length;
3774
- var countOfWords = lsItem.label.split('_').filter(function (item) {
3775
- return !!item;
3776
- }).length;
3777
- // We always want results with multiple words to show after shorter options.
3778
- // For example: to show "count_distinct" after "count"
3779
- sortTextPrefix = sortTextPrefix * countOfWords;
3780
3768
  var startPosition = document.positionAt(completionItems.EditStart);
3781
3769
  var endPosition = document.positionAt(completionItems.EditStart + completionItems.EditLength);
3782
3770
  lsItem.textEdit = main.TextEdit.replace(main.Range.create(startPosition, endPosition), textToInsert);
3783
- lsItem.sortText = _this2.getSortText(sortTextPrefix + i + 1);
3784
3771
  // Changing the first letter to be lower case, to ignore case-sensitive matching
3785
- lsItem.filterText = lsItem.label.charAt(0).toLowerCase() + lsItem.label.slice(1);
3786
- lsItem.kind = _this2.kustoKindToLsKindV2(kItem.Kind);
3772
+ lsItem.filterText = kItem.MatchText.charAt(0).toLowerCase() + kItem.MatchText.slice(1);
3773
+ lsItem.kind = _this.kustoKindToLsKindV2(kItem.Kind);
3774
+ lsItem.sortText = createSortingText(index);
3787
3775
  lsItem.insertTextFormat = format;
3788
3776
  lsItem.detail = helpTopic ? helpTopic.ShortDescription : undefined;
3789
3777
  lsItem.documentation = helpTopic ? {
3790
- value: _this2.formatHelpTopic(helpTopic),
3778
+ value: _this.formatHelpTopic(helpTopic),
3791
3779
  kind: main.MarkupKind.Markdown
3792
3780
  } : undefined;
3793
3781
  return lsItem;
3794
3782
  });
3795
3783
  return Promise.resolve(main.CompletionList.create(items));
3796
3784
  }
3797
- }, {
3798
- key: "getTopic",
3799
- value:
3785
+
3800
3786
  /**
3801
3787
  * when trying to get a topic we need the function name (abs, toLower, ETC).
3802
3788
  * The problem is that the 'Value' string also contains the arguments (e.g abs(number)), which means that we are
@@ -3804,7 +3790,9 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
3804
3790
  * This piece of code tries to strip this hwne getting topic.
3805
3791
  * @param completionOption the Completion option
3806
3792
  */
3807
- function getTopic(completionOption) {
3793
+ }, {
3794
+ key: "getTopic",
3795
+ value: function getTopic(completionOption) {
3808
3796
  if (completionOption.Kind == k.OptionKind.FunctionScalar || completionOption.Kind == k.OptionKind.FunctionAggregation) {
3809
3797
  // from a value like 'abs(number)' remove the '(number)' so that only 'abs' will remain
3810
3798
  var indexOfParen = completionOption.Value.indexOf('(');
@@ -3814,62 +3802,6 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
3814
3802
  }
3815
3803
  return k.CslDocumentation.Instance.GetTopic(completionOption);
3816
3804
  }
3817
- }, {
3818
- key: "doCompleteV1",
3819
- value: function doCompleteV1(document, position) {
3820
- var _this3 = this;
3821
- // TODO: fix typing in CslCommandParser to allow rulesProvider to be query only.
3822
- var caretAbsolutePosition = document.offsetAt(position);
3823
-
3824
- // find out what's the current command to only parse this one.
3825
- this.parseDocumentV1(document, k.ParseMode.CommandTokensOnly);
3826
- var currentCommand = this.getCurrentCommand(document, caretAbsolutePosition);
3827
- var commandTextUntilCursor = '';
3828
- if (currentCommand) {
3829
- currentCommand.AbsoluteStart;
3830
- this.parseTextV1(currentCommand.Text, k.ParseMode.TokenizeAllText);
3831
- var caretRelativePosition = caretAbsolutePosition - currentCommand.AbsoluteStart;
3832
- commandTextUntilCursor = currentCommand.Text.substring(currentCommand.CslExpressionStartPosition, caretRelativePosition);
3833
- }
3834
- var commandTextWithoutLastWord = this.getCommandWithoutLastWord(commandTextUntilCursor);
3835
- var context = this._rulesProvider.AnalyzeCommand$1(commandTextUntilCursor, currentCommand).Context;
3836
- var result = {
3837
- v: null
3838
- };
3839
- this._rulesProvider.TryMatchAnyRule(commandTextWithoutLastWord, result);
3840
- var rule = result.v;
3841
- if (rule) {
3842
- var completionOptions = this.toArray(rule.GetCompletionOptions(context));
3843
-
3844
- // TODO once AppendPipePolicy becomes a public static member of ApplyPolicy in our c# code, and bridge.Net transplies this,
3845
- // remove the 'as any' part..
3846
- // Also = DefaultApplyPolicy is internal in c# code, so not exposed in d.ts, so we cast it to any.
3847
- if (this._languageSettings.newlineAfterPipe && rule.DefaultAfterApplyPolicy === Kusto.Data.IntelliSense.ApplyPolicy.AppendPipePolicy) {
3848
- rule.DefaultAfterApplyPolicy = this._newlineAppendPipePolicy;
3849
- }
3850
- var options = completionOptions.filter(function (option) {
3851
- return !(option && option.Value && _this3.disabledCompletionItemsV1[option.Value] === option.Kind);
3852
- }).map(function (option, ordinal) {
3853
- var _this3$getTextToInser = _this3.getTextToInsert(rule, option),
3854
- insertText = _this3$getTextToInser.insertText,
3855
- insertTextFormat = _this3$getTextToInser.insertTextFormat;
3856
- var helpTopic = k.CslDocumentation.Instance.GetTopic(option);
3857
- var item = main.CompletionItem.create(option.Value);
3858
- item.kind = _this3.kustoKindToLsKind(option.Kind);
3859
- item.insertText = insertText;
3860
- item.insertTextFormat = insertTextFormat;
3861
- item.sortText = _this3.getSortText(ordinal + 1);
3862
- item.detail = helpTopic ? helpTopic.ShortDescription : undefined;
3863
- item.documentation = helpTopic ? {
3864
- value: helpTopic.LongDescription,
3865
- kind: main.MarkupKind.Markdown
3866
- } : undefined;
3867
- return item;
3868
- });
3869
- return Promise.resolve(main.CompletionList.create(options));
3870
- }
3871
- return Promise.resolve(main.CompletionList.create([]));
3872
- }
3873
3805
  }, {
3874
3806
  key: "doRangeFormat",
3875
3807
  value: function doRangeFormat(document, range) {
@@ -4000,9 +3932,9 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4000
3932
  }, {
4001
3933
  key: "doValidation",
4002
3934
  value: function doValidation(document, changeIntervals, includeWarnings, includeSuggestions) {
4003
- var _this4 = this;
3935
+ var _this2 = this;
4004
3936
  // didn't implement validation for v1.
4005
- if (!document || !this.isIntellisenseV2()) {
3937
+ if (!document) {
4006
3938
  return Promise.resolve([]);
4007
3939
  }
4008
3940
  var script = this.parseDocumentV2(document);
@@ -4012,16 +3944,16 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4012
3944
  }
4013
3945
  var diagnostics = blocks.map(function (block) {
4014
3946
  // GetDiagnostics returns the errors in the block
4015
- var diagnostics = _this4.toArray(block.Service.GetDiagnostics());
4016
- var enableWarnings = includeWarnings !== null && includeWarnings !== void 0 ? includeWarnings : _this4._languageSettings.enableQueryWarnings;
4017
- var enableSuggestions = includeSuggestions !== null && includeSuggestions !== void 0 ? includeSuggestions : _this4._languageSettings.enableQuerySuggestions;
3947
+ var diagnostics = _this2.toArray(block.Service.GetDiagnostics());
3948
+ var enableWarnings = includeWarnings !== null && includeWarnings !== void 0 ? includeWarnings : _this2._languageSettings.enableQueryWarnings;
3949
+ var enableSuggestions = includeSuggestions !== null && includeSuggestions !== void 0 ? includeSuggestions : _this2._languageSettings.enableQuerySuggestions;
4018
3950
  if (enableWarnings || enableSuggestions) {
4019
3951
  // Concat Warnings and suggestions to the diagnostics
4020
3952
  var warningAndSuggestionDiagnostics = block.Service.GetAnalyzerDiagnostics(true);
4021
- var filterredDiagnostics = _this4.toArray(warningAndSuggestionDiagnostics).filter(function (d) {
4022
- var _this4$_languageSetti;
3953
+ var filterredDiagnostics = _this2.toArray(warningAndSuggestionDiagnostics).filter(function (d) {
3954
+ var _this2$_languageSetti;
4023
3955
  var allowSeverity = enableWarnings && d.Severity === 'Warning' || enableSuggestions && d.Severity === 'Suggestion';
4024
- var allowCode = !((_this4$_languageSetti = _this4._languageSettings.disabledDiagnosticCodes) !== null && _this4$_languageSetti !== void 0 && _this4$_languageSetti.includes(d.Code));
3956
+ var allowCode = !((_this2$_languageSetti = _this2._languageSettings.disabledDiagnosticCodes) !== null && _this2$_languageSetti !== void 0 && _this2$_languageSetti.includes(d.Code));
4025
3957
  return allowSeverity && allowCode;
4026
3958
  });
4027
3959
  diagnostics = diagnostics.concat(filterredDiagnostics);
@@ -4053,7 +3985,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4053
3985
  }, {
4054
3986
  key: "getResultActions",
4055
3987
  value: function getResultActions(document, start, end) {
4056
- var _this5 = this;
3988
+ var _this3 = this;
4057
3989
  var script = this.parseDocumentV2(document);
4058
3990
  var block = this.getAffectedBlocks(this.toArray(script.Blocks), [{
4059
3991
  start: start,
@@ -4062,12 +3994,12 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4062
3994
  var applyCodeActions = this.getApplyCodeActions(document, start, end);
4063
3995
  var resultActionsMap = applyCodeActions.map(function (applyCodeAction) {
4064
3996
  var changes = [];
4065
- var codeActionResults = _this5.toArray(block.Service.ApplyCodeAction(applyCodeAction, start).Actions);
3997
+ var codeActionResults = _this3.toArray(block.Service.ApplyCodeAction(applyCodeAction, start).Actions);
4066
3998
  var changeTextAction = codeActionResults.find(function (c) {
4067
3999
  return c instanceof Kusto.Language.Editor.ChangeTextAction;
4068
4000
  });
4069
4001
  if (changeTextAction) {
4070
- changes = _this5.toArray(changeTextAction.Changes).map(function (change) {
4002
+ changes = _this3.toArray(changeTextAction.Changes).map(function (change) {
4071
4003
  return {
4072
4004
  start: change.Start + block.Start,
4073
4005
  deleteLength: change.DeleteLength,
@@ -4158,66 +4090,11 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4158
4090
  }, {
4159
4091
  key: "doColorization",
4160
4092
  value: function doColorization(document, changeIntervals) {
4161
- var _this6 = this;
4093
+ var _this4 = this;
4162
4094
  if (!document || !this._languageSettings.useSemanticColorization) {
4163
4095
  return Promise.resolve([]);
4164
4096
  }
4165
4097
 
4166
- // V1 intellisense
4167
- if (!this.isIntellisenseV2()) {
4168
- // Handle specific ranges changes (and not the whole doc)
4169
- if (changeIntervals.length > 0) {
4170
- this.parseDocumentV1(document, k.ParseMode.CommandTokensOnly);
4171
- var affectedCommands = this.toArray(this._parser.Results).filter(function (command) {
4172
- return (
4173
- // a command is affected if it intersects at least on of changed ranges.
4174
- command // command can be null. we're filtering all nulls in the array.
4175
- ? changeIntervals.some(function (_ref2) {
4176
- var changeStart = _ref2.start,
4177
- changeEnd = _ref2.end;
4178
- return (
4179
- // both intervals intersect if either the start or the end of interval A is inside interval B.
4180
- // If we deleted something at the end of a command, the interval will not intersect the current command.
4181
- // so we also want consider affected commands commands the end where the interval begins.
4182
- // hence the + 1.
4183
- command.AbsoluteStart >= changeStart && command.AbsoluteStart <= changeEnd || changeStart >= command.AbsoluteStart && changeStart <= command.AbsoluteEnd + 1
4184
- );
4185
- }) : false
4186
- );
4187
- });
4188
-
4189
- // We're not on any command so don't return any classifications.
4190
- // this can happen if we're at the and of the file and deleting empty rows (for example).
4191
- if (!affectedCommands || affectedCommands.length === 0) {
4192
- return Promise.resolve([{
4193
- classifications: [],
4194
- absoluteStart: changeIntervals[0].start,
4195
- absoluteEnd: changeIntervals[0].end
4196
- }]);
4197
- }
4198
- var results = affectedCommands.map(function (command) {
4199
- _this6.parseTextV1(command.Text, k.ParseMode.TokenizeAllText);
4200
- var k2Classifications = _this6.getClassificationsFromParseResult(command.AbsoluteStart);
4201
- var classifications = toClassifiedRange(k2Classifications);
4202
- return {
4203
- classifications: classifications,
4204
- absoluteStart: command.AbsoluteStart,
4205
- absoluteEnd: command.AbsoluteEnd
4206
- };
4207
- });
4208
- return Promise.resolve(results);
4209
- }
4210
-
4211
- // Entire document requested
4212
- this.parseDocumentV1(document, k.ParseMode.TokenizeAllText);
4213
- var _classifications = this.getClassificationsFromParseResult();
4214
- return Promise.resolve([{
4215
- classifications: toClassifiedRange(_classifications),
4216
- absoluteStart: 0,
4217
- absoluteEnd: document.getText().length
4218
- }]);
4219
- }
4220
-
4221
4098
  // V2 intellisense
4222
4099
  var script = this.parseDocumentV2(document);
4223
4100
  if (changeIntervals.length > 0) {
@@ -4225,7 +4102,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4225
4102
  var affectedBlocks = this.getAffectedBlocks(_blocks, changeIntervals);
4226
4103
  var result = affectedBlocks.map(function (block) {
4227
4104
  return {
4228
- classifications: toClassifiedRange(_this6.toArray(block.Service.GetClassifications(block.Start, block.End).Classifications)),
4105
+ classifications: toClassifiedRange(_this4.toArray(block.Service.GetClassifications(block.Start, block.End).Classifications)),
4229
4106
  absoluteStart: block.Start,
4230
4107
  absoluteEnd: block.End
4231
4108
  };
@@ -4236,7 +4113,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4236
4113
  // Entire document requested
4237
4114
  var blocks = this.toArray(script.Blocks);
4238
4115
  var classifications = blocks.map(function (block) {
4239
- return _this6.toArray(block.Service.GetClassifications(block.Start, block.Length).Classifications);
4116
+ return _this4.toArray(block.Service.GetClassifications(block.Start, block.Length).Classifications);
4240
4117
  }).reduce(function (prev, curr) {
4241
4118
  return prev.concat(curr);
4242
4119
  }, []);
@@ -4253,9 +4130,9 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4253
4130
  return (
4254
4131
  // a command is affected if it intersects at least on of changed ranges.
4255
4132
  block // command can be null. we're filtering all nulls in the array.
4256
- ? changeIntervals.some(function (_ref3) {
4257
- var changeStart = _ref3.start,
4258
- changeEnd = _ref3.end;
4133
+ ? changeIntervals.some(function (_ref2) {
4134
+ var changeStart = _ref2.start,
4135
+ changeEnd = _ref2.end;
4259
4136
  return (
4260
4137
  // both intervals intersect if either the start or the end of interval A is inside interval B.
4261
4138
  block.Start >= changeStart && block.Start <= changeEnd || changeStart >= block.Start && changeStart <= block.End + 1
@@ -4271,20 +4148,20 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4271
4148
  var cluster = this._kustoJsSchemaV2.GetCluster$1(clusterNameOnly);
4272
4149
  if (cluster) {
4273
4150
  // add databases that are not already in the cluster.
4274
- databases.filter(function (_ref4) {
4275
- var name = _ref4.name;
4151
+ databases.filter(function (_ref3) {
4152
+ var name = _ref3.name;
4276
4153
  return !cluster.GetDatabase(name);
4277
- }).forEach(function (_ref5) {
4278
- var name = _ref5.name,
4279
- alternativeName = _ref5.alternativeName;
4154
+ }).forEach(function (_ref4) {
4155
+ var name = _ref4.name,
4156
+ alternativeName = _ref4.alternativeName;
4280
4157
  var symbol = new sym.DatabaseSymbol.$ctor3(name, alternativeName || null, undefined, false);
4281
4158
  cluster = cluster.AddDatabase(symbol);
4282
4159
  });
4283
4160
  }
4284
4161
  if (!cluster) {
4285
- var databaseSymbols = databases.map(function (_ref6) {
4286
- var name = _ref6.name,
4287
- alternativeName = _ref6.alternativeName;
4162
+ var databaseSymbols = databases.map(function (_ref5) {
4163
+ var name = _ref5.name,
4164
+ alternativeName = _ref5.alternativeName;
4288
4165
  return new sym.DatabaseSymbol.$ctor3(name, alternativeName || null, undefined, false);
4289
4166
  });
4290
4167
  var databaseSymbolsList = new (List(sym.DatabaseSymbol).$ctor1)(databaseSymbols);
@@ -4313,7 +4190,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4313
4190
  value: function setSchema(schema) {
4314
4191
  this._schema = schema;
4315
4192
  // We support intellisenseV2 only if the clusterType is "Engine", even if the setting is enabled
4316
- if (this._languageSettings.useIntellisenseV2 && schema && schema.clusterType === 'Engine') {
4193
+ if (schema && schema.clusterType === 'Engine') {
4317
4194
  var kustoJsSchemaV2 = this.convertToKustoJsSchemaV2(schema);
4318
4195
  this._kustoJsSchemaV2 = kustoJsSchemaV2;
4319
4196
  this._script = undefined;
@@ -4331,7 +4208,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4331
4208
  key: "setParameters",
4332
4209
  value: function setParameters(scalarParameters, tabularParameters) {
4333
4210
  var _this$_script;
4334
- if (!this._languageSettings.useIntellisenseV2 || this._schema.clusterType !== 'Engine') {
4211
+ if (this._schema.clusterType !== 'Engine') {
4335
4212
  throw new Error('setParameters requires intellisense V2 and Engine cluster');
4336
4213
  }
4337
4214
  this._schema.globalScalarParameters = scalarParameters;
@@ -4384,53 +4261,53 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4384
4261
  value: function _normalizeSchema(schema, clusterConnectionString, databaseInContextName, databaseInContextAlternateName) {
4385
4262
  var databases = Object.keys(schema.Databases).map(function (key) {
4386
4263
  return schema.Databases[key];
4387
- }).map(function (_ref7) {
4388
- var _ref10;
4389
- var Name = _ref7.Name,
4390
- Tables = _ref7.Tables,
4391
- ExternalTables = _ref7.ExternalTables,
4392
- MaterializedViews = _ref7.MaterializedViews,
4393
- Functions = _ref7.Functions,
4394
- _ref7$EntityGroups = _ref7.EntityGroups,
4395
- EntityGroups = _ref7$EntityGroups === void 0 ? {} : _ref7$EntityGroups,
4396
- MinorVersion = _ref7.MinorVersion,
4397
- MajorVersion = _ref7.MajorVersion;
4264
+ }).map(function (_ref6) {
4265
+ var _ref9;
4266
+ var Name = _ref6.Name,
4267
+ Tables = _ref6.Tables,
4268
+ ExternalTables = _ref6.ExternalTables,
4269
+ MaterializedViews = _ref6.MaterializedViews,
4270
+ Functions = _ref6.Functions,
4271
+ _ref6$EntityGroups = _ref6.EntityGroups,
4272
+ EntityGroups = _ref6$EntityGroups === void 0 ? {} : _ref6$EntityGroups,
4273
+ MinorVersion = _ref6.MinorVersion,
4274
+ MajorVersion = _ref6.MajorVersion;
4398
4275
  return {
4399
4276
  name: Name,
4400
4277
  alternateName: databaseInContextAlternateName,
4401
4278
  minorVersion: MinorVersion,
4402
4279
  majorVersion: MajorVersion,
4403
- entityGroups: Object.entries(EntityGroups).map(function (_ref8) {
4404
- var _ref9 = _slicedToArray(_ref8, 2),
4405
- name = _ref9[0],
4406
- members = _ref9[1];
4280
+ entityGroups: Object.entries(EntityGroups).map(function (_ref7) {
4281
+ var _ref8 = _slicedToArray(_ref7, 2),
4282
+ name = _ref8[0],
4283
+ members = _ref8[1];
4407
4284
  return {
4408
4285
  name: name,
4409
4286
  members: members
4410
4287
  };
4411
4288
  }),
4412
- tables: (_ref10 = []).concat.apply(_ref10, _toConsumableArray([[Tables, 'Table'], [MaterializedViews, 'MaterializedView'], [ExternalTables, 'ExternalTable']].filter(function (_ref11) {
4413
- var _ref12 = _slicedToArray(_ref11, 1),
4414
- tableContainer = _ref12[0];
4289
+ tables: (_ref9 = []).concat.apply(_ref9, _toConsumableArray([[Tables, 'Table'], [MaterializedViews, 'MaterializedView'], [ExternalTables, 'ExternalTable']].filter(function (_ref10) {
4290
+ var _ref11 = _slicedToArray(_ref10, 1),
4291
+ tableContainer = _ref11[0];
4415
4292
  return tableContainer;
4416
- }).map(function (_ref13) {
4417
- var _ref14 = _slicedToArray(_ref13, 2),
4418
- tableContainer = _ref14[0],
4419
- tableEntity = _ref14[1];
4420
- return Object.values(tableContainer).map(function (_ref15) {
4421
- var Name = _ref15.Name,
4422
- OrderedColumns = _ref15.OrderedColumns,
4423
- DocString = _ref15.DocString;
4293
+ }).map(function (_ref12) {
4294
+ var _ref13 = _slicedToArray(_ref12, 2),
4295
+ tableContainer = _ref13[0],
4296
+ tableEntity = _ref13[1];
4297
+ return Object.values(tableContainer).map(function (_ref14) {
4298
+ var Name = _ref14.Name,
4299
+ OrderedColumns = _ref14.OrderedColumns,
4300
+ DocString = _ref14.DocString;
4424
4301
  return {
4425
4302
  name: Name,
4426
4303
  docstring: DocString,
4427
4304
  entityType: tableEntity,
4428
- columns: OrderedColumns.map(function (_ref16) {
4429
- var Name = _ref16.Name;
4430
- _ref16.Type;
4431
- var DocString = _ref16.DocString,
4432
- CslType = _ref16.CslType,
4433
- Examples = _ref16.Examples;
4305
+ columns: OrderedColumns.map(function (_ref15) {
4306
+ var Name = _ref15.Name;
4307
+ _ref15.Type;
4308
+ var DocString = _ref15.DocString,
4309
+ CslType = _ref15.CslType,
4310
+ Examples = _ref15.Examples;
4434
4311
  return {
4435
4312
  name: Name,
4436
4313
  type: CslType,
@@ -4443,11 +4320,11 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4443
4320
  }))),
4444
4321
  functions: Object.keys(Functions).map(function (key) {
4445
4322
  return Functions[key];
4446
- }).map(function (_ref17) {
4447
- var Name = _ref17.Name,
4448
- Body = _ref17.Body,
4449
- DocString = _ref17.DocString,
4450
- InputParameters = _ref17.InputParameters;
4323
+ }).map(function (_ref16) {
4324
+ var Name = _ref16.Name,
4325
+ Body = _ref16.Body,
4326
+ DocString = _ref16.DocString,
4327
+ InputParameters = _ref16.InputParameters;
4451
4328
  return {
4452
4329
  name: Name,
4453
4330
  body: Body,
@@ -4503,13 +4380,13 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4503
4380
  }, {
4504
4381
  key: "getCommandInContext",
4505
4382
  value: function getCommandInContext(document, cursorOffset) {
4506
- return this.isIntellisenseV2() ? this.getCommandInContextV2(document, cursorOffset) : this.getCommandInContextV1(document, cursorOffset);
4383
+ return this.getCommandInContextV2(document, cursorOffset);
4507
4384
  }
4508
4385
  }, {
4509
4386
  key: "getCommandAndLocationInContext",
4510
4387
  value: function getCommandAndLocationInContext(document, cursorOffset) {
4511
4388
  // We are going to remove v1 intellisense. no use to keep parity.
4512
- if (!document || !this.isIntellisenseV2()) {
4389
+ if (!document) {
4513
4390
  return Promise.resolve(null);
4514
4391
  }
4515
4392
  var script = this.parseDocumentV2(document);
@@ -4526,16 +4403,6 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4526
4403
  location: location
4527
4404
  });
4528
4405
  }
4529
- }, {
4530
- key: "getCommandInContextV1",
4531
- value: function getCommandInContextV1(document, cursorOffset) {
4532
- this.parseDocumentV1(document, k.ParseMode.CommandTokensOnly);
4533
- var command = this.getCurrentCommand(document, cursorOffset);
4534
- if (!command) {
4535
- return Promise.resolve(null);
4536
- }
4537
- return Promise.resolve(command.Text);
4538
- }
4539
4406
  }, {
4540
4407
  key: "getCommandInContextV2",
4541
4408
  value: function getCommandInContextV2(document, cursorOffset) {
@@ -4561,17 +4428,17 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4561
4428
  if (!document) {
4562
4429
  return Promise.resolve([]);
4563
4430
  }
4564
- return this.isIntellisenseV2() ? this.getCommandsInDocumentV2(document) : this.getCommandsInDocumentV1(document);
4431
+ return this.getCommandsInDocumentV2(document);
4565
4432
  }
4566
4433
  }, {
4567
4434
  key: "getCommandsInDocumentV1",
4568
4435
  value: function getCommandsInDocumentV1(document) {
4569
4436
  this.parseDocumentV1(document, k.ParseMode.CommandTokensOnly);
4570
4437
  var commands = this.toArray(this._parser.Results);
4571
- return Promise.resolve(commands.map(function (_ref18) {
4572
- var AbsoluteStart = _ref18.AbsoluteStart,
4573
- AbsoluteEnd = _ref18.AbsoluteEnd,
4574
- Text = _ref18.Text;
4438
+ return Promise.resolve(commands.map(function (_ref17) {
4439
+ var AbsoluteStart = _ref17.AbsoluteStart,
4440
+ AbsoluteEnd = _ref17.AbsoluteEnd,
4441
+ Text = _ref17.Text;
4575
4442
  return {
4576
4443
  absoluteStart: AbsoluteStart,
4577
4444
  absoluteEnd: AbsoluteEnd,
@@ -4599,7 +4466,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4599
4466
  }, {
4600
4467
  key: "getFormattedCommandsInDocumentV2",
4601
4468
  value: function getFormattedCommandsInDocumentV2(document, rangeStart, rangeEnd) {
4602
- var _this7 = this;
4469
+ var _this5 = this;
4603
4470
  var script = this.parseDocumentV2(document);
4604
4471
  var commands = this.toArray(script.Blocks).filter(function (command) {
4605
4472
  if (!command.Text || command.Text.trim() == '') return false;
@@ -4625,9 +4492,9 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4625
4492
  };
4626
4493
  }
4627
4494
  var formattedCommands = commands.map(function (command) {
4628
- var _formatterOptions$ind, _this7$toPlacementSty;
4629
- var formatterOptions = _this7._languageSettings.formatter;
4630
- var formatter = Kusto.Language.Editor.FormattingOptions.Default.WithIndentationSize((_formatterOptions$ind = formatterOptions === null || formatterOptions === void 0 ? void 0 : formatterOptions.indentationSize) !== null && _formatterOptions$ind !== void 0 ? _formatterOptions$ind : 4).WithInsertMissingTokens(false).WithPipeOperatorStyle((_this7$toPlacementSty = _this7.toPlacementStyle(formatterOptions === null || formatterOptions === void 0 ? void 0 : formatterOptions.pipeOperatorStyle)) !== null && _this7$toPlacementSty !== void 0 ? _this7$toPlacementSty : k2.PlacementStyle.Smart).WithSemicolonStyle(Kusto.Language.Editor.PlacementStyle.None).WithBrackettingStyle(k2.BrackettingStyle.Diagonal);
4495
+ var _formatterOptions$ind, _this5$toPlacementSty;
4496
+ var formatterOptions = _this5._languageSettings.formatter;
4497
+ var formatter = Kusto.Language.Editor.FormattingOptions.Default.WithIndentationSize((_formatterOptions$ind = formatterOptions === null || formatterOptions === void 0 ? void 0 : formatterOptions.indentationSize) !== null && _formatterOptions$ind !== void 0 ? _formatterOptions$ind : 4).WithInsertMissingTokens(false).WithPipeOperatorStyle((_this5$toPlacementSty = _this5.toPlacementStyle(formatterOptions === null || formatterOptions === void 0 ? void 0 : formatterOptions.pipeOperatorStyle)) !== null && _this5$toPlacementSty !== void 0 ? _this5$toPlacementSty : k2.PlacementStyle.Smart).WithSemicolonStyle(Kusto.Language.Editor.PlacementStyle.None).WithBrackettingStyle(k2.BrackettingStyle.Diagonal);
4631
4498
  if (rangeStart == null || rangeEnd == null || rangeStart === command.Start && rangeEnd === command.End) {
4632
4499
  var result = command.Service.GetFormattedText(formatter);
4633
4500
  return result.Text;
@@ -4647,10 +4514,10 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4647
4514
  var commands = this.toArray(script.Blocks).filter(function (command) {
4648
4515
  return command.Text.trim() != '';
4649
4516
  });
4650
- return Promise.resolve(commands.map(function (_ref19) {
4651
- var Start = _ref19.Start,
4652
- End = _ref19.End,
4653
- Text = _ref19.Text;
4517
+ return Promise.resolve(commands.map(function (_ref18) {
4518
+ var Start = _ref18.Start,
4519
+ End = _ref18.End,
4520
+ Text = _ref18.Text;
4654
4521
  return {
4655
4522
  absoluteStart: Start,
4656
4523
  absoluteEnd: End,
@@ -4685,7 +4552,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4685
4552
  }, {
4686
4553
  key: "findDefinition",
4687
4554
  value: function findDefinition(document, position) {
4688
- if (!document || !this.isIntellisenseV2()) {
4555
+ if (!document) {
4689
4556
  return Promise.resolve([]);
4690
4557
  }
4691
4558
  var script = this.parseDocumentV2(document);
@@ -4709,7 +4576,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4709
4576
  }, {
4710
4577
  key: "findReferences",
4711
4578
  value: function findReferences(document, position) {
4712
- if (!document || !this.isIntellisenseV2()) {
4579
+ if (!document) {
4713
4580
  return Promise.resolve([]);
4714
4581
  }
4715
4582
  var script = this.parseDocumentV2(document);
@@ -4735,10 +4602,9 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4735
4602
  }, {
4736
4603
  key: "getQueryParams",
4737
4604
  value: function getQueryParams(document, cursorOffset) {
4738
- if (!document || !this.isIntellisenseV2()) {
4605
+ if (!document) {
4739
4606
  return Promise.resolve([]);
4740
4607
  }
4741
- this.parseDocumentV2(document);
4742
4608
  var parsedAndAnalyzed = this.parseAndAnalyze(document, cursorOffset);
4743
4609
  var queryParamStatements = this.toArray(parsedAndAnalyzed.Syntax.GetDescendants(Kusto.Language.Syntax.QueryParametersStatement));
4744
4610
  if (!queryParamStatements || queryParamStatements.length == 0) {
@@ -4758,7 +4624,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4758
4624
  }, {
4759
4625
  key: "getRenderInfo",
4760
4626
  value: function getRenderInfo(document, cursorOffset) {
4761
- var _this8 = this;
4627
+ var _this6 = this;
4762
4628
  var parsedAndAnalyzed = this.parseAndAnalyze(document, cursorOffset);
4763
4629
  if (!parsedAndAnalyzed) {
4764
4630
  return Promise.resolve(undefined);
@@ -4798,7 +4664,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4798
4664
  break;
4799
4665
  case 'ycolumns':
4800
4666
  case 'anomalycolumns':
4801
- var nameNodes = _this8.toArray(property.Element$1.Expression.Names);
4667
+ var nameNodes = _this6.toArray(property.Element$1.Expression.Names);
4802
4668
  var values = nameNodes.map(function (nameNode) {
4803
4669
  return nameNode.Element$1.SimpleName;
4804
4670
  });
@@ -4915,9 +4781,6 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4915
4781
  }, {
4916
4782
  key: "getGlobalParams",
4917
4783
  value: function getGlobalParams(document) {
4918
- if (!this.isIntellisenseV2()) {
4919
- return Promise.resolve([]);
4920
- }
4921
4784
  var params = this.toArray(this._kustoJsSchemaV2.Parameters);
4922
4785
  var result = params.map(function (param) {
4923
4786
  return {
@@ -4930,7 +4793,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4930
4793
  }, {
4931
4794
  key: "doRename",
4932
4795
  value: function doRename(document, position, newName) {
4933
- if (!document || !this.isIntellisenseV2()) {
4796
+ if (!document) {
4934
4797
  return Promise.resolve(undefined);
4935
4798
  }
4936
4799
  var script = this.parseDocumentV2(document);
@@ -4965,7 +4828,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
4965
4828
  }, {
4966
4829
  key: "doHover",
4967
4830
  value: function doHover(document, position) {
4968
- if (!document || !this.isIntellisenseV2()) {
4831
+ if (!document) {
4969
4832
  return Promise.resolve(undefined);
4970
4833
  }
4971
4834
  var script = this.parseDocumentV2(document);
@@ -5079,14 +4942,14 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
5079
4942
  }, {
5080
4943
  key: "getClassificationsFromParseResult",
5081
4944
  value: function getClassificationsFromParseResult() {
5082
- var _this9 = this;
4945
+ var _this7 = this;
5083
4946
  var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
5084
4947
  var classifications = this.toArray(this._parser.Results).map(function (command) {
5085
- return _this9.toArray(command.Tokens);
4948
+ return _this7.toArray(command.Tokens);
5086
4949
  }).reduce(function (prev, curr) {
5087
4950
  return prev.concat(curr);
5088
4951
  }, []).map(function (cslCommandToken) {
5089
- var range = new k2.ClassifiedRange(_this9.tokenKindToClassificationKind(cslCommandToken.TokenKind), cslCommandToken.AbsoluteStart + offset, cslCommandToken.Length);
4952
+ var range = new k2.ClassifiedRange(_this7.tokenKindToClassificationKind(cslCommandToken.TokenKind), cslCommandToken.AbsoluteStart + offset, cslCommandToken.Length);
5090
4953
  return range;
5091
4954
  });
5092
4955
  return classifications;
@@ -5096,32 +4959,8 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
5096
4959
  * trim trailing newlines from range
5097
4960
  */
5098
4961
  }, {
5099
- key: "getSortText",
4962
+ key: "parseTextV1",
5100
4963
  value:
5101
- /**
5102
- * Maps numbers to strings, such that if a>b numerically, f(a)>f(b) lexicographically.
5103
- * 1 -> "a", 26 -> "z", 27 -> "za", 28 -> "zb", 52 -> "zz", 53 ->"zza"
5104
- * @param order - The number to be converted to a sorting-string. order should start at 1.
5105
- * @returns A string repenting the order.
5106
- */
5107
- function getSortText(order) {
5108
- if (order <= 0) {
5109
- throw new RangeError("order should be a number >= 1. instead got ".concat(order));
5110
- }
5111
- var sortText = '';
5112
- var numCharacters = 26; // "z" - "a" + 1;
5113
-
5114
- var div = Math.floor(order / numCharacters);
5115
- for (var i = 0; i < div; ++i) {
5116
- sortText += 'z';
5117
- }
5118
- var reminder = order % numCharacters;
5119
- if (reminder > 0) {
5120
- sortText += String.fromCharCode(96 + reminder);
5121
- }
5122
- return sortText;
5123
- }
5124
-
5125
4964
  /**
5126
4965
  * ParseTextV1 parses the given text with the given parse mode.
5127
4966
  * Additionally - it will make sure not to provide rules provider for non-engine clusters
@@ -5130,9 +4969,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
5130
4969
  * @param text
5131
4970
  * @param parseMode
5132
4971
  */
5133
- }, {
5134
- key: "parseTextV1",
5135
- value: function parseTextV1(text, parseMode) {
4972
+ function parseTextV1(text, parseMode) {
5136
4973
  this._parser.Parse(this._schema.clusterType === 'Engine' ? this._rulesProvider : null, text, parseMode);
5137
4974
  }
5138
4975
  }, {
@@ -5262,10 +5099,10 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
5262
5099
  }
5263
5100
 
5264
5101
  // This is a cluster manger
5265
- var _ref20 = schema,
5266
- accounts = _ref20.accounts,
5267
- services = _ref20.services,
5268
- connectionString = _ref20.connectionString;
5102
+ var _ref19 = schema,
5103
+ accounts = _ref19.accounts,
5104
+ services = _ref19.services,
5105
+ connectionString = _ref19.connectionString;
5269
5106
  new k.KustoIntelliSenseAccountEntity();
5270
5107
  new k.KustoIntelliSenseServiceEntity();
5271
5108
  this._rulesProvider = new k.ClusterManagerIntelliSenseRulesProvider.$ctor1(new Bridge.ArrayEnumerable(accounts), new Bridge.ArrayEnumerable(services), connectionString);
@@ -5301,7 +5138,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
5301
5138
  }, {
5302
5139
  key: "parseAndAnalyze",
5303
5140
  value: function parseAndAnalyze(document, cursorOffset) {
5304
- if (!document || !this.isIntellisenseV2()) {
5141
+ if (!document) {
5305
5142
  return undefined;
5306
5143
  }
5307
5144
  var script = this.parseDocumentV2(document);
@@ -5425,10 +5262,10 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
5425
5262
  }, {
5426
5263
  key: "inputParameterToSignature",
5427
5264
  value: function inputParameterToSignature(params) {
5428
- var _this10 = this;
5265
+ var _this8 = this;
5429
5266
  var signatureWithoutParens = params.map(function (param) {
5430
5267
  if (param.columns) {
5431
- var tableSignature = _this10.scalarParametersToSignature(param.columns);
5268
+ var tableSignature = _this8.scalarParametersToSignature(param.columns);
5432
5269
  return "".concat(param.name, ": ").concat(tableSignature);
5433
5270
  } else {
5434
5271
  return "".concat(param.name, ": ").concat(param.cslType);
@@ -5522,13 +5359,13 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
5522
5359
  }
5523
5360
  }, {
5524
5361
  key: "createTableSymbol",
5525
- value: function createTableSymbol(_ref21) {
5362
+ value: function createTableSymbol(_ref20) {
5526
5363
  var _mvQuery;
5527
- var name = _ref21.name,
5528
- columns = _ref21.columns,
5529
- entityType = _ref21.entityType,
5530
- docstring = _ref21.docstring,
5531
- tbl = _objectWithoutProperties(_ref21, _excluded);
5364
+ var name = _ref20.name,
5365
+ columns = _ref20.columns,
5366
+ entityType = _ref20.entityType,
5367
+ docstring = _ref20.docstring,
5368
+ tbl = _objectWithoutProperties(_ref20, _excluded);
5532
5369
  var columnSymbols = new Bridge.ArrayEnumerable(columns.map(function (col) {
5533
5370
  return KustoLanguageService.createColumnSymbol(col);
5534
5371
  }));
@@ -5552,7 +5389,6 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-1cf16bbf', './schema
5552
5389
  }();
5553
5390
  var languageService = new KustoLanguageService(KustoLanguageService.dummySchema, {
5554
5391
  includeControlCommands: true,
5555
- useIntellisenseV2: true,
5556
5392
  useSemanticColorization: true,
5557
5393
  completionOptions: {
5558
5394
  includeExtendedSyntax: false