Skip to content

iquiw/company-restclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

company-restclient travis melpa

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

  1. Install from MELPA:

    M-x package-install RET company-restclient RET
    
  2. Add company-restclient to company-backends after loading company-mode.

    (add-to-list 'company-backends 'company-restclient)

Setup from Git

  1. Install from Git:

    git clone https://github.com/iquiw/company-restclient.git
    
  2. Add company-restclient to company-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

About

Company-mode completion back-end for restclient-mode

Resources

Stars

Watchers

Forks

Packages

No packages published