Optional parameters were not present in completion menu. This change adds them in this format: foo(int a, int b=?) It would be great if it would be possible to print the exact value instead of '?', but this is better then nothing. Snippet can also contain default argument if g:clang_complete_optional_args_in_snippets is set to 1.
|Failed to load latest commit information.|
|bin||Add -ansi and -pedantic to cc_args.py|
|doc||Optional arguments are supported in completion.|
|examples||libclang.py: Introduce option sorting=none|
|plugin||Optional arguments are supported in completion.|
|.gitignore||The vimball is a .vmb instead of .vba|
|Makefile||Makefile fix: SHELL should be set to /usr/bin/env bash not $(/usr/bin…|
|README||The vimball is a .vmb instead of .vba|
This plugin uses clang for accurately completing C and C++ code. To build and install in one step, type: $ make install To build and install in two steps, type: $ make $ vim clang_complete.vmb -c 'so %' -c 'q' Alternatively, you can also put the files in ~/.vim/ You need Vim 7.3 or higher, compiled with python support and ideally, with the conceal feature. See doc/clang_complete.txt for help and license.