# esql-idea-plugin **Repository Path**: mirrors_elastic/esql-idea-plugin ## Basic Information - **Project Name**: esql-idea-plugin - **Description**: Experimental ESQL plugin for Intellij Idea - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-10-31 - **Last Updated**: 2025-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Elastic logo # Elasticsearch ES|QL Intellij IDEA Plugin Experimental plugin enabling autocompletion, syntax check and documentation for [ES|QL](https://www.elastic.co/docs/reference/query-languages/esql) queries in Intellij IDEA for Java and Kotlin. ## Activation Comment `// ES|QL` above a text block (triple quotes) and the string will be identified as an ES|QL query. ![Screenshot](/readme-resources/activation.gif) ## Autocompletion Typing `(ctrl + space)` while writing a query will return a list of acceptable commands/values to continue the query correctly. ![Screenshot](/readme-resources/autocomplete.gif) ## Syntax check The plugin will highlight errors in queries, explaining what to fix. ![Screenshot](/readme-resources/highlight.gif) ## Documentation Hovering with the cursor over commands will display documentation describing what the command can be used for and its correct syntax. ![Screenshot](/readme-resources/docs.gif) ## Configurable with a server instance (preview!) By using the plugin settings, the plugin can be connected to an Elasticsearch server instance to fetch indices and field names, which will be then added to the autocompletion options. Currently, it only works with `FROM`, `SORT`, `EVAL` and `WHERE`. ![Screenshot](/readme-resources/settings.gif) ### Test it locally By running `gradle runIde` (if you want to test .kt files, Kotlin must be configured in the sandbox IDE).