Skip to content
 
 

Repository files navigation

Elastic logo

Elasticsearch ES|QL Intellij IDEA Plugin

Experimental plugin enabling autocompletion, syntax check and documentation for ES|QL 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

Autocompletion

Typing (ctrl + space) while writing a query will return a list of acceptable commands/values to continue the query correctly.

Screenshot

Syntax check

The plugin will highlight errors in queries, explaining what to fix.

Screenshot

Documentation

Hovering with the cursor over commands will display documentation describing what the command can be used for and its correct syntax.

Screenshot

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

Test it locally

By running gradle runIde (if you want to test .kt files, Kotlin must be configured in the sandbox IDE).

About

Experimental ESQL plugin for Intellij Idea

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages