Snippet performance improvements #250

wants to merge 2 commits into from
Commits on Jan 24, 2013
  1. @tobig

    Remove unnecessary assignment

    tobig committed Jan 20, 2013
    Only print abbr, if no snippets are enabled.
  2. @tobig

    libclang: Allow python snippet functions

    tobig committed Jan 22, 2013
    Add a python snippet interface. If a snippet engine supports this
    interface, snippets are formatted directly from within python. This
    makes snippet generation almost zero overhead. If such an interface is
    not provided we fall back to the existing interface.
    This commit adds a python formatter for the 'dummy' and the
    'clang_complete' snippet engine.
    This reduces code completion time for examples/boost.cpp from 119 to 90