Company-mode completion back-end for restclient-mode.
It provides auto-completion for HTTP methods and headers in restclient-mode. Completion source is given by know-your-http-well.
Setup from MELPA
Install from MELPA:
M-x package-install RET company-restclient RET
Add
company-restclient
tocompany-backends
after loading company-mode.(add-to-list 'company-backends 'company-restclient)
Install from Git:
git clone https://github.com/iquiw/company-restclient.git
Add
company-restclient
tocompany-backends
after loading company-mode.(add-to-list 'load-path "/path/to/company-restclient") (add-to-list 'company-backends 'company-restclient)
HTTP method name completion
HTTP header name completion
If header name starts with uppercase character, the completion result is capitalized (e.g. "Content-Type"). Otherwise, the completion result contains lowercase characters only (e.g. "content-type").
HTTP header value completion
If header name matches with key of a cutomizable association list,
company-restclient-header-values
, the corresponding value, list of strings, is used for completion candidates.Description about HTTP method and header is displayed in minibuffer
Variable name completion
Public domain