Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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.

About

Company mode backend for C/C++ header files with Irony

Resources

License

Stars

Watchers

Forks

Packages

No packages published