Skip to content

Document ES|QL prettify keyboard shortcut#5239

Merged
florent-leborgne merged 5 commits intomainfrom
copilot/document-prettify-shortcut
Feb 20, 2026
Merged

Document ES|QL prettify keyboard shortcut#5239
florent-leborgne merged 5 commits intomainfrom
copilot/document-prettify-shortcut

Conversation

Copy link
Contributor

Copilot AI commented Feb 20, 2026

The ES|QL editor gained a keyboard shortcut for prettifying queries that was missing from the docs. This updates the ES|QL keyboard shortcuts section to include the new shortcut.

  • Docs update
    • Added cmd+i / ctrl+i entry for “Prettify query” in the ES|QL keyboard shortcuts table
    • Linked the “Prettify query” shortcut to the query formatting section on the same page
    • Noted the shortcut applies to stack 9.4+

Example:

| {kbd}`cmd+i` | {kbd}`ctrl+i` | [Prettify query](#_make_your_query_readable) {applies_to}`stack: ga 9.4+` |
Original prompt

This section details on the original issue you should resolve

<issue_title>[ES|QL] Keyboard shortcut for prettify</issue_title>
<issue_description>PR: elastic/kibana#247234

Not much to say, just document the shortcut in https://www.elastic.co/docs/explore-analyze/query-filter/languages/esql-kibana#keyboard-shortcuts

Serverless: released early Jan
Stack: 9.4</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: florent-leborgne <10208282+florent-leborgne@users.noreply.github.com>
Copilot AI changed the title [WIP] Document keyboard shortcut for prettify Document ES|QL prettify keyboard shortcut Feb 20, 2026
@florent-leborgne
Copy link
Contributor

@copilot add a link to the prettify query section of the same page

Co-authored-by: florent-leborgne <10208282+florent-leborgne@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 20, 2026

@copilot add a link to the prettify query section of the same page

Linked the prettify shortcut entry to the query formatting section in 53d3dda.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 20, 2026

✅ Vale Linting Results

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide.

To use Vale locally or report issues, refer to Elastic style guide for Vale.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 20, 2026

🔍 Preview links for changed docs

@florent-leborgne florent-leborgne marked this pull request as ready for review February 20, 2026 16:46
@florent-leborgne florent-leborgne requested review from a team as code owners February 20, 2026 16:46
@florent-leborgne
Copy link
Contributor

@copilot add an applies_to as this shortcut will only work on stack from 9.4

Co-authored-by: florent-leborgne <10208282+florent-leborgne@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 20, 2026

@copilot add an applies_to as this shortcut will only work on stack from 9.4

Added the stack 9.4+ applies_to note for the prettify shortcut in a400a44. Screenshot: N/A (documentation-only change).

Copy link
Contributor

@mdbirnstiehl mdbirnstiehl left a comment

Choose a reason for hiding this comment

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

LGTM!

@florent-leborgne florent-leborgne enabled auto-merge (squash) February 20, 2026 17:24
@florent-leborgne florent-leborgne merged commit 00dd581 into main Feb 20, 2026
7 checks passed
@florent-leborgne florent-leborgne deleted the copilot/document-prettify-shortcut branch February 20, 2026 17:28
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.

[ES|QL] Keyboard shortcut for prettify

3 participants