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?
请先登录再写评论。
Here is kinda getting started: http://www.jetbrains.org/intellij/sdk/docs/welcome.html
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.