[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#655513: RFP: vim-clang-complete -- Complete C, C++, Objective-C and Objective-C++ in Vim using Clang



Package: wnpp
Severity: wishlist

* Package name    : vim-clang-complete
  Version         : 1.8
  Upstream Author : Xavier Deguillard <deguilx@gmail.com>
* URL             : http://www.vim.org/scripts/script.php?script_id=3302
* License         : BSD-3 (some files come from LLVM, the relevant part of
                    license is also BSD-3, just with different names)
  Programming Lang: vim, python
  Description     : Complete C, C++, Objective-C and Objective-C++ in Vim using Clang
  Depends         : python, clang
  Recommends      : libclang1
                    I suggest pre-defining the path to the library
		    (g:clang_library_path), but since it can only be used in
		    vim with python support, still needs to depend on clang.

This vim plugin uses clang to accurately complete C, C++ and Objective-C
code. It understands all C++03 and some C++11 constructs including complex
preprocessor expansions or heavily templated code. It can also highlight
errors as you type.

Since it uses C++ compiler to do the parsing, it is acurate except for
compiler-specific features of your regular compiler not supported by clang
(most gcc extensions are supported). It also does not need ctags or any other
database to be updated before it can complete newly declared constructs. Only
compiler flags (definitions and include paths) need to be provided.

-- 
						 Jan 'Bulb' Hudec <bulb@ucw.cz>



Reply to: