GitHunt
SA

Sarcasm/ac-irony

Auto-complete completion source for irony-mode

Auto-complete support for irony-mode

This package provides an auto-complete source for
irony-mode. It provides semantic completion for C/C++ and
Objective-C languages.

Status

This package is not yet ready for prime-time, this documentation is therefore
a work of fiction.

Screenshots

TODO: non-misleading screenshot.

Dependencies

This package depends on:

Please refer to the documentation of these packages for the basic configuration
needed to get started.

Installation

The recommended way to install ac-irony and its dependencies is to use a
package manager.

  • Using MELPA

      M-x package-install RET ac-irony RET
    
  • Using el-get

      M-x el-get-install RET ac-irony RET
    

Configuration

(defun my-ac-irony-setup ()
  ;; be cautious, if yas is not enabled before (auto-complete-mode 1), overlays
  ;; *may* persist after an expansion.
  (yas-minor-mode 1)
  (auto-complete-mode 1)

  (add-to-list 'ac-sources 'ac-source-irony)
  (define-key irony-mode-map (kbd "M-RET") 'ac-complete-irony-async))

(add-hook 'irony-mode-hook 'my-ac-irony-setup)

Languages

Emacs Lisp100.0%

Contributors

Created March 18, 2014
Updated January 23, 2018