Company Ciao: advanced autocompletion

Author(s): Miguel Angel Sanchez Ordaz.

Company is a text completion framework for Emacs. The name stands for "complete anything".

Setup

Before installing this package, emacs 24 is needed for using Company. If you do not have installed it yet, this package company-ciao will do it automatically from ELPA repository.

There are two options for the setup:

  • Insert the next line into your emacs init file.

    
    (eval-after-load 'company '(add-hook 'company-mode-hook 'company-ciao-setup))

  • If you use use-package, you can insert instead.

    
    (use-package flycheck-ciao
      :after flycheck
      :hook
      (company-mode . company-ciao-setup)
      )

Using Company

Once enabled the use of company-mode will be automatic.

To enable company-mode in all buffers where possible, insert into your emacs file the next line:


(add-hook 'after-init-hook 'global-company-mode)