add autocomplete setup function for c/c++