Skip to content

Write ES|QL faster with AI-assisted code completion in the editor #6552

Closed

Description

@florent-leborgne

Summary

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.

Resources

  • PR #256857 — [ES|QL] Code completion driven by AI
Screenshots from PR

screenshot
screenshot
screenshot
screenshot
screenshot
screenshot

Availability

Channel Details
Stack v9.5.0
Serverless May 18–May 22
Feature flag None — active by default

Created with Docs Quest Scanner by @florent-leborgne

Suggested edits

Use ES|QL in the Kibana UI > Editor tools — Autocomplete and in-app help

  • 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.

Activity

  1. added
    Team:Experience
    on May 18, 2026
  2. added
    needs-team
    and removed
    needs-team
    on May 18, 2026
  3. github-actions commented on May 18, 2026

    @github-actions
    Contributor

    Elastic Docs AI Menu

    Check one box to run an AI workflow for this issue.

    Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

  4. added
    Planned-S24
    on Jun 18, 2026
  5. florent-leborgne commented on Jun 19, 2026

    @florent-leborgne
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Planned-S24Team:Experience

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions