[cfe-commits] r112057 - in /cfe/trunk: include/clang/Sema/CodeCompleteConsumer.h lib/Sema/SemaCodeComplete.cpp
Sebastian Redl
sebastian.redl at getdesigned.at
Wed Aug 25 11:04:56 PDT 2010
On Aug 25, 2010, at 10:10 AM, Douglas Gregor wrote:
> Author: dgregor
> Date: Wed Aug 25 12:10:00 2010
> New Revision: 112057
>
> URL: http://llvm.org/viewvc/llvm-project?rev=112057&view=rev
> Log:
> Add a code-completion context for "natural language" completions, so
> that ASTUnit knows not to try to provide completions there.
Hmm ... if there's a good way to properly access the contents of adjacent comments, this would be wonderful to add hooks for, say, Doxygen directives.
As such, it might make sense to separate comments from strings. Oh, and in strings we could code-complete escape sequences (I know some Java IDEs that do that) or even printf/scanf directives. What fun we could have!
Sebastian
More information about the cfe-commits
mailing list