Skip to content

marciosmiderle/company-quickhelp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Company quickhelp

What is?

One of the things I missed the most when moving from auto-complete to company was the documentation popups that would appear when idling on a completion candidate. This package remedies that situation.

auto-complete uses popup-el to do its thing and this results in quite a few glitches. This package uses the much better pos-tip to display the popups. I recommend installing pos-tip using MELPA which fetches the version of pos-tip which is located here. This version contains a few bugfixes not included in the original on EmacsWiki.

Installation

I highly recommend installing company-quickhelp through package.el.

It's available on MELPA:

M-x package-install company-quickhelp

Usage

To activate company-quickhelp add the following to your init.el:

(company-quickhelp-mode 1)

You can adjust the time it takes for the documentation to pop up by changing company-quickhelp-delay.

If you don't want the help popup to appear automatically, but prefer it to the popup help buffer provided by company, you can set company-quickhelp-delay to nil and manually trigger the popup with M-h.

Customizing

If you hit M-x customize-group <RET> company-quickhelp <RET> you'll find a few variables you can diddle. For instance, you can change the help popup text background and foreground colors.

You might also want to put this in your init.el:

(eval-after-load 'company
  '(define-key company-active-map (kbd "M-h") #'company-quickhelp-manual-begin))

This gives you a key to manually trigger the help popup, but only when company is doing its thing.

Is it any good?

Yes!

company-quickhelp

About

Documentation popup for Company

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Emacs Lisp 100.0%