Skip to content

Emacs C++ code completion

As an old fashion C/C++ programmer I have never relied on an IDE with code completion. I have since the early days of doing software development relied on Emacs as my default IDE. It provide the perfect set of elisp packages and code highlighting. Indentation of code is also done correctly and beautifully when you use smart-tabs-mode. Now finally I have decided to enable code completion in Emacs and it took a little bit of trial and error since many of the guides I found were either outdated or I couldn't find the right packages in MELPA. First step is to enable MELPA: Add the following to you .emacs (require 'package) (add-to-list 'package-archives '("melpa" . "")) (package-initialize) For code completion I finally managed to get Irony and company to play well together.


No Trackbacks


Display comments as Linear | Threaded

No comments

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.

Form options