GitHub - iquiw/company-restclient: Company-mode completion back-end for restclie...
source link: https://github.com/iquiw/company-restclient
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
company-restclient
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.
Installation
Depends
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)
Setup from Git
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)
Feature
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
License
Public domain
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK