Where to start: Elasticsearch plugin (JSON sytnax, HTTP requests)

I'd like to explore the possibility of creating a plugin to enter and execute Elasticsearch queries. The queries themselves are HTTP(S) requests with a (optional) JSON body. It seems like the place to start is with the HTTP Request file type. How would I go about extending this capability to add code completion (for starters)? Any relevant code pointers?



Check package com.intellij.ws.http.request.psi and use PSI Viewer to understand the structure of these files. You can contribute PsiReference to e..g com.intellij.ws.http.request.psi.HttpMessageBody.


Please sign in to leave a comment.