Skip to content
Company mode backend for C/C++ header files with Irony
Emacs Lisp
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
company-irony-c-headers.el

README.md

Company Irony C Headers

MELPA

This package provides a company-mode backend for C/C++ header files that works with irony-mode.

This package is meant to be complementary to company-irony by offering completion suggestions to header files.

Installation

The recommended way to install company-irony-c-headers and its dependencies is through a package manager:

  • Using MELPA

    M-x package-install RET company-irony-c-headers RET
    

Usage

It must be loaded after irony-mode, while the backend should be grouped with company-irony, and before it.

Put the following code in your initialization script:

(require 'company-irony-c-headers)
;; Load with `irony-mode` as a grouped backend
(eval-after-load 'company
  '(add-to-list
    'company-backends '(company-irony-c-headers company-irony)))

Sometimes when the compiler options change, you need to manually reload header completion cache by invoking company-irony-c-headers-reload-compiler-output.

You can’t perform that action at this time.