]> code.delx.au - gnu-emacs-elpa/commit
Support c++-mode in company-clang; templatify calls in C and C++
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 10 Apr 2013 00:34:00 +0000 (04:34 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 10 Apr 2013 00:34:15 +0000 (04:34 +0400)
commit988cf9d8c21499ebdec0eb6d15ba4d92d5a2830d
treee2dea463daee5a80f594be47c54a23d7c5e03830
parentdb19d03474dee277158b3ed5de088aee9d152913
Support c++-mode in company-clang; templatify calls in C and C++

Close #7

* company-clang--completion-pattern: Ignore (Hidden) entries.
* company-clang--parse-output: Add function arguments to the candidate text,
* unless we're dealing with ObjC (no problem with overloads there).
* company-clang: Templatify function call in C in C++, same as `company-eclim'.
* company-eclim--templatify: Move to company-template.el, rename to
  `company-template-c-like-templatify', don't strip the argument types from fields.
  Detecting where the type ends and the arg name begins is hard for C and C++,
  because there may be no argument name. And showing types is useful anyway.
* company-template-add-field: Change the third argument from string to number.
* company-template-move-to-first: When no fields, jump to the end.
NEWS.md
company-clang.el
company-eclim.el
company-template.el