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?