Clang Complete

From the Linux and Unix Users Group at Virginia Teck Wiki
Revision as of 05:22, 13 September 2012 by imported>Wyreshark
Jump to: navigation, search

Clang Complete

Clang Complete is an addon to the popular text editor vim. It allows the user to use clang to do a lightweight compile/parse of their code, in order to allow extremely accurate code autocompletion. Alternatives out there (gcc_complete/ctags) either use hackish methods (modified compilers) or do manual parsing of the file. Clang was built with ease of IDE integration built-in, so Clang Complete simply builds on that feature.

Installation

The installation of Clang Complete requires a version of vim that supports python(3) addons. At the moment, Arch Linux's default vim build lacks the ability to use python extensions, and gvim lacks support for python3. In order to check if your vim install supports these, do: [code]testing[/code]

Work in progress