You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Write ES|QL faster with AI-assisted code completion in the editor #6552
The ES|QL editor gains AI-assisted completion: ghost text on new or empty lines, natural-language comments that generate ES|QL, in-progress generation hints, and review actions (undo/keep for insertions, undo/replace for replacements). This is additive UX on top of existing syntax autocomplete.
Why this needs docs: The authoritative ES|QL-in-Kibana page documents standard autocomplete and keyboard shortcuts but omits the new AI-driven flows entirely, so readers will not discover or understand the feature set shipped in 9.5.0.
What the docs say: The page states that ES|QL provides in-app help, inline suggestions, and an autocomplete menu. It does not describe AI-generated ghost lines, comment-driven generation, footer/review actions, or prerequisites such as connector/model configuration.
What to add: Add a subsection covering AI-assisted completion: ghost placeholders on empty lines and when the query is blank; writing a descriptive comment to generate ES|QL; the generating state; and how to accept, undo, keep, or replace AI insertions (and any required Elastic AI/connector setup). Applies from 9.5.0 and in serverless.
While documenting this in #6714, the in-editor copy for the comment-to-query flow looked ambiguous about the order of operations (it could read as if pressing ⌘/Ctrl+J prompts you for the description, rather than generating from a comment you've already written).
For traceability: this is being addressed upstream in elastic/kibana#274210, which rewords the empty-editor placeholder and the two ghost-line hints to make clear you describe what you want in a // comment first, then press ⌘/Ctrl+J to generate it. Once that Kibana PR merges, the hint strings quoted on the docs page (in #6714) should be updated to match.
Activity
github-actions commentedon May 18, 2026
Elastic Docs AI Menu
Check one box to run an AI workflow for this issue.
docs-triage). Status: not started.docs-issue-scope). Status: not started.Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.
florent-leborgne commentedon Jun 19, 2026
While documenting this in #6714, the in-editor copy for the comment-to-query flow looked ambiguous about the order of operations (it could read as if pressing ⌘/Ctrl+J prompts you for the description, rather than generating from a comment you've already written).
For traceability: this is being addressed upstream in elastic/kibana#274210, which rewords the empty-editor placeholder and the two ghost-line hints to make clear you describe what you want in a
//comment first, then press ⌘/Ctrl+J to generate it. Once that Kibana PR merges, the hint strings quoted on the docs page (in #6714) should be updated to match.docs: document AI assistance in the ES|QL editor (elastic#6552, elast…