Skip to content

Slight improvements to monaco upgrade#4

Merged
paulinashakirova merged 2 commits into
paulinashakirova:update-monaco-latestfrom
eokoneyo:update-monaco-latest
Apr 29, 2026
Merged

Slight improvements to monaco upgrade#4
paulinashakirova merged 2 commits into
paulinashakirova:update-monaco-latestfrom
eokoneyo:update-monaco-latest

Conversation

@eokoneyo
Copy link
Copy Markdown

tiny fixes for monaco upgrade PR

  • Augments monaco type in kibana to monaco package in place of casting within the code editor implementation
  • Also fix an issue where cancelling a completion suggestion would print an error to the browser console.


return await inlineSuggest(fullText, textBeforeCursor, range, callbacks);
},
freeInlineCompletions: () => {},
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

freeInlineCompletions is now deprecated, so don't need to pass it along

position.column
);

return inlineSuggest(fullText, textBeforeCursor, range, callbacks);
Copy link
Copy Markdown
Author

@eokoneyo eokoneyo Apr 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably ask the esql team to modify this as an improvement to accept an abortController signal, so that if the inline completion is cancelled by monaco we are also able to terminate the already running promise if it's not resolved yet

@paulinashakirova paulinashakirova merged commit b0e84fa into paulinashakirova:update-monaco-latest Apr 29, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants