Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ Every PR should come with a test that checks it.

## Changelog

## 13.1.1

- fix: Do not re-trigger IntelliSense when the user clicks on a dot (.), such as in column names.

## 13.1.0

- feat: Add keyboard shortcuts for changing case:
Expand Down
2 changes: 1 addition & 1 deletion package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kusto/monaco-kusto",
"version": "13.1.0",
"version": "13.1.1",
"description": "CSL, KQL plugin for the Monaco Editor",
"author": {
"name": "Microsoft"
Expand Down
2 changes: 1 addition & 1 deletion package/src/languageFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export class CompletionAdapter implements monaco.languages.CompletionItemProvide
}

public get triggerCharacters(): string[] {
return [' ', '.', '('];
return [' ', '('];
}

provideCompletionItems(
Expand Down
6 changes: 6 additions & 0 deletions package/tests/integration/completion-items.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ test.describe('completion items', () => {
await expect(option.locator).toHaveText('1d');
});

test('intellisense remains open on dot press', async ({ page }) => {
await page.keyboard.type('where col.');
await model.intellisense().wait();
await expect(model.intellisense().locator).toBeVisible();
});

test('exclude parameters on matching results', async ({ page }) => {
await page.keyboard.type('where StartTime > ago');
await model.intellisense().wait();
Expand Down
5 changes: 5 additions & 0 deletions package/tests/integration/env/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ const schema = {
CslType: 'string',
Examples: ['Custom State 1', 'Custom State 2'],
},
{
Name: 'Col.WithDotInName',
Type: 'System.String',
CslType: 'string',
},
],
},
},
Expand Down
Loading