@kusto/monaco-kusto 5.3.11 → 5.3.12

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kusto/monaco-kusto",
3
- "version": "5.3.11",
3
+ "version": "5.3.12",
4
4
  "description": "CSL, KQL plugin for the Monaco Editor",
5
5
  "author": {
6
6
  "name": "Microsoft"
@@ -7437,8 +7437,9 @@ define('vs/language/kusto/languageService/kustoLanguageService',["require", "exp
7437
7437
  KustoLanguageService.prototype.setSchema = function (schema) {
7438
7438
  var _this = this;
7439
7439
  this._schema = schema;
7440
- if (this._languageSettings.useIntellisenseV2) {
7441
- var kustoJsSchemaV2 = schema && schema.clusterType === 'Engine' ? this.convertToKustoJsSchemaV2(schema) : null;
7440
+ // We support intellisenseV2 only if the clusterType is "Engine", even if the setting is enabled
7441
+ if (this._languageSettings.useIntellisenseV2 && schema && schema.clusterType === 'Engine') {
7442
+ var kustoJsSchemaV2 = this.convertToKustoJsSchemaV2(schema);
7442
7443
  this._kustoJsSchemaV2 = kustoJsSchemaV2;
7443
7444
  this._script = undefined;
7444
7445
  this._parsePropertiesV2 = undefined;
@@ -785,8 +785,9 @@ var KustoLanguageService = /** @class */ (function () {
785
785
  KustoLanguageService.prototype.setSchema = function (schema) {
786
786
  var _this = this;
787
787
  this._schema = schema;
788
- if (this._languageSettings.useIntellisenseV2) {
789
- var kustoJsSchemaV2 = schema && schema.clusterType === 'Engine' ? this.convertToKustoJsSchemaV2(schema) : null;
788
+ // We support intellisenseV2 only if the clusterType is "Engine", even if the setting is enabled
789
+ if (this._languageSettings.useIntellisenseV2 && schema && schema.clusterType === 'Engine') {
790
+ var kustoJsSchemaV2 = this.convertToKustoJsSchemaV2(schema);
790
791
  this._kustoJsSchemaV2 = kustoJsSchemaV2;
791
792
  this._script = undefined;
792
793
  this._parsePropertiesV2 = undefined;
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 5.3.11(undefined)
3
+ * monaco-kusto version: 5.3.12(undefined)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 5.3.11(undefined)
3
+ * monaco-kusto version: 5.3.12(undefined)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 5.3.11(undefined)
3
+ * monaco-kusto version: 5.3.12(undefined)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/